Move declaration to top of block
This fixes building with gcc2. Reported by <https://github.com/fbrosson>.
This commit is contained in:
@@ -872,8 +872,8 @@ static char *status_notify_windows(Window *window)
|
|||||||
|
|
||||||
if (get_int_var(SHOW_STATUS_ALL_VAR) || window == window->screen->current_window)
|
if (get_int_var(SHOW_STATUS_ALL_VAR) || window == window->screen->current_window)
|
||||||
{
|
{
|
||||||
*notes = 0;
|
|
||||||
Window *notify_win = NULL;
|
Window *notify_win = NULL;
|
||||||
|
*notes = 0;
|
||||||
while ((traverse_all_windows(¬ify_win)))
|
while ((traverse_all_windows(¬ify_win)))
|
||||||
{
|
{
|
||||||
if (notify_win->miscflags & WINDOW_NOTIFIED)
|
if (notify_win->miscflags & WINDOW_NOTIFIED)
|
||||||
|
|||||||
Reference in New Issue
Block a user