Clang warnings fixed

'Equality comparison with extraneous parentheses' semantics warnings in
Clang fixed
This commit is contained in:
twinaphex 2013-07-02 15:23:20 +02:00
parent 43c0d66877
commit 1ff0107bd4
2 changed files with 4 additions and 4 deletions

View File

@ -1194,7 +1194,7 @@ int unzReadCurrentFile (unzFile file, voidpf buf, unsigned len)
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;
if (len==0)
return 0;

View File

@ -2336,11 +2336,11 @@ static int rgui_settings_iterate(rgui_handle_t *rgui, rgui_action_t action)
menu_type == RGUI_SETTINGS_OPEN_HISTORY))
{
rgui->need_refresh = false;
if ((menu_type == RGUI_SETTINGS_INPUT_OPTIONS))
if (menu_type == RGUI_SETTINGS_INPUT_OPTIONS)
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);
else if ((menu_type == RGUI_SETTINGS_OPTIONS))
else if (menu_type == RGUI_SETTINGS_OPTIONS)
rgui_settings_options_populate_entries(rgui);
else if (menu_type == RGUI_SETTINGS_CORE_OPTIONS)
rgui_settings_core_options_populate_entries(rgui);