From 005eb35ee810fbc1edc31a83f298866067be6ef9 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 19 Aug 2006 05:05:36 +0000 Subject: fix some warnings from -Wall --- openbox/stacking.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/stacking.c') diff --git a/openbox/stacking.c b/openbox/stacking.c index 714d2a1c..bedc10c8 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -56,11 +56,12 @@ void stacking_set_list() static void do_restack(GList *wins, GList *before) { - GList *it, *next; + GList *it; Window *win; gint i; #ifdef DEBUG + GList *next; /* pls only restack stuff in the same layer at a time */ for (it = wins; it; it = next) { next = g_list_next(it); -- cgit v1.2.3