Clang warnings fixed
'Equality comparison with extraneous parentheses' semantics warnings in Clang fixed
This commit is contained in:
parent
43c0d66877
commit
1ff0107bd4
|
@ -1194,7 +1194,7 @@ int unzReadCurrentFile (unzFile file, voidpf buf, unsigned len)
|
||||||
return UNZ_PARAMERROR;
|
return UNZ_PARAMERROR;
|
||||||
|
|
||||||
|
|
||||||
if ((pfile_in_zip_read_info->read_buffer == NULL))
|
if (pfile_in_zip_read_info->read_buffer == NULL)
|
||||||
return UNZ_END_OF_LIST_OF_FILE;
|
return UNZ_END_OF_LIST_OF_FILE;
|
||||||
if (len==0)
|
if (len==0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -2336,11 +2336,11 @@ static int rgui_settings_iterate(rgui_handle_t *rgui, rgui_action_t action)
|
||||||
menu_type == RGUI_SETTINGS_OPEN_HISTORY))
|
menu_type == RGUI_SETTINGS_OPEN_HISTORY))
|
||||||
{
|
{
|
||||||
rgui->need_refresh = false;
|
rgui->need_refresh = false;
|
||||||
if ((menu_type == RGUI_SETTINGS_INPUT_OPTIONS))
|
if (menu_type == RGUI_SETTINGS_INPUT_OPTIONS)
|
||||||
rgui_settings_controller_populate_entries(rgui);
|
rgui_settings_controller_populate_entries(rgui);
|
||||||
else if ((menu_type == RGUI_SETTINGS_PATH_OPTIONS))
|
else if (menu_type == RGUI_SETTINGS_PATH_OPTIONS)
|
||||||
rgui_settings_path_populate_entries(rgui);
|
rgui_settings_path_populate_entries(rgui);
|
||||||
else if ((menu_type == RGUI_SETTINGS_OPTIONS))
|
else if (menu_type == RGUI_SETTINGS_OPTIONS)
|
||||||
rgui_settings_options_populate_entries(rgui);
|
rgui_settings_options_populate_entries(rgui);
|
||||||
else if (menu_type == RGUI_SETTINGS_CORE_OPTIONS)
|
else if (menu_type == RGUI_SETTINGS_CORE_OPTIONS)
|
||||||
rgui_settings_core_options_populate_entries(rgui);
|
rgui_settings_core_options_populate_entries(rgui);
|
||||||
|
|
Loading…
Reference in New Issue