[mutter] wayland-pointer: Squash warning



commit 53876d2b620813aa28fde8d364d9b6c48777408b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Aug 16 15:37:27 2014 -0400

    wayland-pointer: Squash warning
    
    This should never happen.

 src/wayland/meta-wayland-pointer.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c
index 22cf02a..a6ac086 100644
--- a/src/wayland/meta-wayland-pointer.c
+++ b/src/wayland/meta-wayland-pointer.c
@@ -261,6 +261,9 @@ sync_focus_surface (MetaWaylandPointer *pointer)
     case META_EVENT_ROUTE_WAYLAND_POPUP:
       focus_surface = pointer->current;
       break;
+
+    default:
+      g_assert_not_reached ();
     }
 
   if (focus_surface != pointer->focus_surface)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]