From 1ee19207fbcf8c0918858d83d04b308ecd6988a7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 25 Sep 2003 22:00:07 +0000 Subject: [PATCH] fix a variable used without being initialized case --- openbox/menuframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2