diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-07-22 15:00:32 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-07-22 23:14:43 +0000 |
commit | 234eeabe2f7acc6896d02968eeaab9882f8ac56f (patch) | |
tree | a2bbb560b64ad49fa9faafef116e7c8fd6a97c51 /tools | |
parent | 492f6817d37d05064d50e93d3abe4600768ab3d3 (diff) | |
download | libinput-234eeabe2f7acc6896d02968eeaab9882f8ac56f.tar.gz |
Replace fallthrough comments with __attribute__((fallthrough))
This has recently been endorsed by the linux kernel, it should be good
enough for us.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libinput-debug-gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libinput-debug-gui.c b/tools/libinput-debug-gui.c index 1b93bd1d..54b9d073 100644 --- a/tools/libinput-debug-gui.c +++ b/tools/libinput-debug-gui.c @@ -1407,7 +1407,7 @@ handle_event_tablet(struct libinput_event *ev, struct window *w) w->tool.y_up = y; w->tool.is_down = false; } - /* fallthrough */ + _fallthrough_; case LIBINPUT_EVENT_TABLET_TOOL_AXIS: w->tool.x = x; w->tool.y = y; |