[gtk+] Wayland: Add a missing break statement
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Wayland: Add a missing break statement
- Date: Sat, 3 Aug 2013 23:30:07 +0000 (UTC)
commit 0d999c626f44deaf7d259854aaec1bdc26294685
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 4 00:59:41 2013 +0200
Wayland: Add a missing break statement
Found by the clang static analyzer.
gdk/wayland/gdkdevice-wayland.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 2925096..225c12e 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -789,6 +789,7 @@ pointer_handle_axis (void *data,
case WL_POINTER_AXIS_HORIZONTAL_SCROLL:
delta_x = wl_fixed_to_double (value) / 10.0;
delta_y = 0;
+ break;
default:
g_return_if_reached ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]