aboutsummaryrefslogtreecommitdiff
path: root/riverctl/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'riverctl/main.zig')
-rw-r--r--riverctl/main.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/riverctl/main.zig b/riverctl/main.zig
index 64434e2..8837f79 100644
--- a/riverctl/main.zig
+++ b/riverctl/main.zig
@@ -55,7 +55,7 @@ fn _main() !void {
var globals = Globals{};
- registry.setListener(*Globals, registryListener, &globals) catch unreachable;
+ registry.setListener(*Globals, registryListener, &globals);
_ = try display.roundtrip();
const control = globals.control orelse return error.RiverControlNotAdvertised;
@@ -68,7 +68,7 @@ fn _main() !void {
const callback = try control.runCommand(seat);
- callback.setListener(?*c_void, callbackListener, null) catch unreachable;
+ callback.setListener(?*c_void, callbackListener, null);
// Loop until our callback is called and we exit.
while (true) _ = try display.dispatch();