Move declaration to top of block

This fixes building with gcc2.  Reported by <https://github.com/fbrosson>.
This commit is contained in:
Kevin Easton 2018-11-11 01:27:09 +11:00
parent fe22025c01
commit 076850f81b
1 changed files with 1 additions and 1 deletions

View File

@ -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(&notify_win)))
{
if (notify_win->miscflags & WINDOW_NOTIFIED)