commit 28c8dbe12c30db10865333dc57197ba55f0597fd
parent 86bd8079cd3bd665d75edbb986d0c9dbecb1570d
Author: Filipe Coelho <falktx@falktx.com>
Date: Sun, 7 Jan 2018 21:59:50 +0100
Merge pull request #26 from tartina/warnings
Fix some fall through compiler warnings
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/dgl/src/sofd/libsofd.c b/dgl/src/sofd/libsofd.c
@@ -2126,6 +2126,7 @@ int x_fib_handle_events (Display *dpy, XEvent *event) {
if (!strcmp (XGetAtomName (dpy, event->xclient.message_type), "WM_PROTOCOLS")) {
_status = -1;
}
+ break;
case ConfigureNotify:
if (
(event->xconfigure.width > 1 && event->xconfigure.height > 1)
@@ -2319,6 +2320,7 @@ int x_fib_cfg_buttons (int k, int v) {
_btn_filter.flags |= 2;
_fib_filter_fn = 0;
}
+ break;
default:
return -2;
}