mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
Fixes uninitialized variable 'keystroke' in nwipe_gui_prng
This commit is contained in:
@@ -995,7 +995,7 @@ void nwipe_gui_prng( void )
|
||||
if( nwipe_options.prng == &nwipe_isaac ) { focus = 1; }
|
||||
|
||||
|
||||
while( keystroke != ERR )
|
||||
do
|
||||
{
|
||||
/* Clear the main window. */
|
||||
werase( main_window );
|
||||
@@ -1085,7 +1085,8 @@ void nwipe_gui_prng( void )
|
||||
|
||||
} /* switch */
|
||||
|
||||
} /* while */
|
||||
}
|
||||
while( keystroke != ERR );
|
||||
|
||||
} /* nwipe_gui_prng */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user