diff options
Diffstat (limited to 'src/sdl.zig')
-rw-r--r-- | src/sdl.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdl.zig b/src/sdl.zig index b84bbfb..f8925a1 100644 --- a/src/sdl.zig +++ b/src/sdl.zig @@ -57,11 +57,11 @@ pub fn get_event() event { var key = keys.none; if (std.meta.intToEnum(keys, e.key.keysym.sym)) |val| { key = val; - } else |err| {} + } else |_| {} var mode = modes.mouse; if (std.meta.intToEnum(modes, e.type)) |val| { mode = val; - } else |err| {} + } else |_| {} var r: event = event{ .key = key, |