diff --git a/gfx/video_driver.c b/gfx/video_driver.c index ec05128c01..250e7bdc5a 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -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; diff --git a/menu/menu_driver.c b/menu/menu_driver.c index 7722d7eb10..232288a8be 100644 --- a/menu/menu_driver.c +++ b/menu/menu_driver.c @@ -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: diff --git a/retroarch.c b/retroarch.c index 453dda9a73..fd4a5c82c4 100644 --- a/retroarch.c +++ b/retroarch.c @@ -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; diff --git a/runloop.c b/runloop.c index ce38ca77e5..c2d09280d0 100644 --- a/runloop.c +++ b/runloop.c @@ -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;