Init *newtarget to NULL
authorMikael Magnusson <mikachu@gmail.com>
Fri, 19 Feb 2010 21:45:41 +0000 (22:45 +0100)
committerMikael Magnusson <mikachu@gmail.com>
Fri, 19 Feb 2010 21:45:41 +0000 (22:45 +0100)
openbox/focus_cycle_popup.c

index d7ac9f5..c48b8f2 100644 (file)
@@ -317,7 +317,7 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
     gint innerw, innerh;
     gint i;
     GList *it;
-    const ObFocusCyclePopupTarget *newtarget;
+    const ObFocusCyclePopupTarget *newtarget = NULL;
     gint newtargetx, newtargety;
 
     screen_area = screen_physical_area_primary(FALSE);