From: Dana Jansens Date: Thu, 25 Sep 2003 22:00:07 +0000 (+0000) Subject: fix a variable used without being initialized case X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1ee19207fbcf8c0918858d83d04b308ecd6988a7;p=chaz%2Fopenbox fix a variable used without being initialized case --- diff --git a/openbox/menuframe.c b/openbox/menuframe.c index de84dbf0..95168d4e 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -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;