Initialize some stuff to 0 before taking their address
[mikachu/openbox.git] / openbox / mouse.c
index 2f0c8f5..4da22f3 100644 (file)
@@ -372,7 +372,7 @@ gboolean mouse_event(ObClient *client, XEvent *e)
 gboolean mouse_bind(const gchar *buttonstr, ObFrameContext context,
                     ObMouseAction mact, ObActionsAct *action)
 {
-    guint state, button;
+    guint state = 0, button = 0;
     ObMouseBinding *b;
     GSList *it;