From 1491e196f3d05152fab127eb9cff3146a68a20a8 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 28 Oct 2014 05:11:17 +0100 Subject: Initialize some stuff to 0 before taking their address --- openbox/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/mouse.c') diff --git a/openbox/mouse.c b/openbox/mouse.c index 2f0c8f59..4da22f3c 100644 --- a/openbox/mouse.c +++ b/openbox/mouse.c @@ -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; -- cgit v1.2.3