diff --git a/deps/minizip/unzip.c b/deps/minizip/unzip.c index 5c996a22c2..13179bcc83 100644 --- a/deps/minizip/unzip.c +++ b/deps/minizip/unzip.c @@ -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; diff --git a/frontend/menu/rgui.c b/frontend/menu/rgui.c index 2f08ee1143..3bebf6ac6e 100644 --- a/frontend/menu/rgui.c +++ b/frontend/menu/rgui.c @@ -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);