mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
Merge pull request #65 from PartialVolume/Fixes-uninitialized-variable-warning
Fix uninitialized variable 'keystroke' in nwipe_gui_verify()
This commit is contained in:
@@ -1125,7 +1125,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 );
|
||||
@@ -1220,7 +1220,8 @@ void nwipe_gui_verify( void )
|
||||
|
||||
} /* switch */
|
||||
|
||||
} /* while */
|
||||
}
|
||||
while( keystroke != ERR );
|
||||
|
||||
} /* nwipe_gui_verify */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user