Silence 'cannot be reached' warnings

This commit is contained in:
twinaphex 2015-12-08 19:54:36 +01:00
parent 8144fd0d92
commit 39499eb107
4 changed files with 2 additions and 6 deletions

View File

@ -1687,9 +1687,8 @@ bool video_driver_ctl(enum rarch_display_ctl_state state, void *data)
if (!new_data)
return false;
*new_data = video_driver_record_gpu_buffer;
return true;
}
break;
return true;
case RARCH_DISPLAY_CTL_GPU_RECORD_INIT:
{
unsigned *new_size = (unsigned*)data;

View File

@ -696,9 +696,8 @@ bool menu_driver_ctl(enum rarch_menu_ctl_state state, void *data)
if (!ptr)
return false;
*ptr = (bool*)&menu_driver_load_no_content;
return true;
}
break;
return true;
case RARCH_MENU_CTL_HAS_LOAD_NO_CONTENT:
return menu_driver_load_no_content;
case RARCH_MENU_CTL_SET_LOAD_NO_CONTENT:

View File

@ -1352,7 +1352,6 @@ bool rarch_ctl(enum rarch_ctl_state state, void *data)
break;
case RARCH_CTL_IS_BLOCK_CONFIG_READ:
return rarch_block_config_read;
break;
case RARCH_CTL_REPLACE_CONFIG:
{
char *path = (char*)data;

View File

@ -546,7 +546,6 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
video_driver_ctl(RARCH_DISPLAY_CTL_GET_FRAME_COUNT, &frame_count);
return runloop_max_frames && (*frame_count >= runloop_max_frames);
}
break;
case RUNLOOP_CTL_SET_FRAME_TIME_LAST:
runloop_frame_time_last = true;
break;