Fix uninitialized variable 'keystroke' in nwipe_gui_verify()

This commit is contained in:
Nick Law
2018-11-16 22:16:17 +00:00
parent 5cb6003fc0
commit 396896e16c

View File

@@ -1124,7 +1124,7 @@ void nwipe_gui_verify( void )
nwipe_gui_title( footer_window, nwipe_buttons2 );
wrefresh( footer_window );
while( keystroke != ERR )
do
{
/* Clear the main window. */
werase( main_window );
@@ -1219,7 +1219,8 @@ void nwipe_gui_verify( void )
} /* switch */
} /* while */
}
while( keystroke != ERR );
} /* nwipe_gui_verify */