mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Unix makefile now uses -O2, which massively cuts down key exchange
time. This gives rise to a whole bunch of spare warnings, one or two of which might have been actual bugs; now all resolved. [originally from svn r3134]
This commit is contained in:
@ -489,6 +489,8 @@ int dlg_listbox_index(union control *ctrl, void *dlg)
|
||||
|
||||
if (uc->menu)
|
||||
activeitem = gtk_menu_get_active(GTK_MENU(uc->menu));
|
||||
else
|
||||
activeitem = NULL; /* unnecessarily placate gcc */
|
||||
|
||||
children = gtk_container_children(GTK_CONTAINER(uc->menu ? uc->menu :
|
||||
uc->list));
|
||||
|
Reference in New Issue
Block a user