Fix uninitialized variable

This commit is contained in:
Pasi Kallinen
2015-10-29 20:26:25 +02:00
parent a447534b2f
commit 2d83b83cc2

View File

@@ -3772,6 +3772,7 @@ boolean setinitial, setfromfile;
menu_item *style_pick = (menu_item *) 0;
tmpwin = create_nhwindow(NHW_MENU);
start_menu(tmpwin);
any = zeroany;
for (i = 0; i < SIZE(menutype); i++) {
style_name = menutype[i];
/* note: separate `style_name' variable used