aboutsummaryrefslogtreecommitdiffstats
path: root/src/control.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/control.zig')
-rw-r--r--src/control.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/control.zig b/src/control.zig
index 0d3356b..c282e7a 100644
--- a/src/control.zig
+++ b/src/control.zig
@@ -173,6 +173,8 @@ pub const ControlServer = struct {
msg: c.lo_message,
userdata: ?*c_void,
) callconv(.C) c_int {
+ _ = msg;
+
const self = @ptrCast(*ControlServer, @alignCast(@alignOf(ControlServer), userdata.?));
const path = _path[0..c.strlen(_path)];
const types = _types[0..@intCast(u32, argc)];
@@ -189,10 +191,13 @@ pub const ControlServer = struct {
}
fn handle_bundle_start(time: c.lo_timetag, userdata: ?*c_void) callconv(.C) c_int {
+ _ = time;
+ _ = userdata;
return 1;
}
fn handle_bundle_end(userdata: ?*c_void) callconv(.C) c_int {
+ _ = userdata;
return 1;
}
};