From 0186a78fdc7e74394c62841d324d1a8bf2b91230 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 11 Sep 2018 20:57:58 +0200 Subject: Fix GCC8 fall-through warnings --- pugl/pugl_x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c index dfa449e..03b696d 100644 --- a/pugl/pugl_x11.c +++ b/pugl/pugl_x11.c @@ -510,8 +510,9 @@ translateEvent(PuglView* view, XEvent xevent) case 6: event.scroll.dx = -1.0f; break; case 7: event.scroll.dx = 1.0f; break; } + // fallthru } - // nobreak + // fallthru case ButtonRelease: if (xevent.xbutton.button < 4 || xevent.xbutton.button > 7) { event.button.type = ((xevent.type == ButtonPress) -- cgit v1.2.1