From 076850f81b1189f87b6d02ec2adc1d4e582f7648 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Sun, 11 Nov 2018 01:27:09 +1100 Subject: [PATCH] Move declaration to top of block This fixes building with gcc2. Reported by . --- source/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/status.c b/source/status.c index 9729837..7616000 100644 --- a/source/status.c +++ b/source/status.c @@ -872,8 +872,8 @@ static char *status_notify_windows(Window *window) if (get_int_var(SHOW_STATUS_ALL_VAR) || window == window->screen->current_window) { - *notes = 0; Window *notify_win = NULL; + *notes = 0; while ((traverse_all_windows(¬ify_win))) { if (notify_win->miscflags & WINDOW_NOTIFIED)