Move declaration to top of block
This fixes building with gcc2. Reported by <https://github.com/fbrosson>.
This commit is contained in:
parent
fe22025c01
commit
076850f81b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue