]> Dogcows Code - chaz/openbox/commitdiff
fix a variable used without being initialized case
authorDana Jansens <danakj@orodu.net>
Thu, 25 Sep 2003 22:00:07 +0000 (22:00 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 25 Sep 2003 22:00:07 +0000 (22:00 +0000)
openbox/menuframe.c

index de84dbf0204e1f325a2cfe8b9d5a1ed73903f171..95168d4e7ea908af1d3f947c3ded8044d4719191 100644 (file)
@@ -184,7 +184,7 @@ void menu_frame_move(ObMenuFrame *self, gint x, gint y)
 
 void menu_frame_move_on_screen(ObMenuFrame *self)
 {
-    Rect *a;
+    Rect *a = NULL;
     guint i;
     gint dx = 0, dy = 0;
     gint pos, half;
This page took 0.023645 seconds and 4 git commands to generate.