Browse Source

Merge pull request #26 from tartina/warnings

Fix some fall through compiler warnings
pull/32/head
Filipe Coelho GitHub 6 years ago
parent
commit
28c8dbe12c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      dgl/src/sofd/libsofd.c

+ 2
- 0
dgl/src/sofd/libsofd.c View File

@@ -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;
}


Loading…
Cancel
Save