diff options
author | Filipe Coelho <falktx@falktx.com> | 2018-01-07 22:00:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-07 22:00:17 +0100 |
commit | 28c8dbe12c30db10865333dc57197ba55f0597fd (patch) | |
tree | d7c9e1e31f57aafc70d3da404636fc5d853420b4 | |
parent | 86bd8079cd3bd665d75edbb986d0c9dbecb1570d (diff) | |
parent | 0bfc3b475c63231c77fa7c00e14beb8b7e206468 (diff) |
Merge pull request #26 from tartina/warnings
Fix some fall through compiler warnings
-rw-r--r-- | dgl/src/sofd/libsofd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dgl/src/sofd/libsofd.c b/dgl/src/sofd/libsofd.c index bcca9f73..fb262160 100644 --- 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; } |