summaryrefslogtreecommitdiff
path: root/openbox/stacking.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-08-19 05:05:36 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-08-19 05:05:36 +0000
commit005eb35ee810fbc1edc31a83f298866067be6ef9 (patch)
treeb8f85951aaeb3d62d6a3874ada0451df38f48faa /openbox/stacking.c
parentc495ecfefff3b07810cb2abed69ceed7a1350b37 (diff)
fix some warnings from -Wall
Diffstat (limited to 'openbox/stacking.c')
-rw-r--r--openbox/stacking.c3
1 files changed, 2 insertions, 1 deletions
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);