Fix two Coverity errors

This commit is contained in:
twinaphex 2017-01-09 19:49:46 +01:00
parent 3d600c9f11
commit 9826b45242
2 changed files with 4 additions and 0 deletions

View File

@ -476,7 +476,9 @@ static int menu_cbs_init_bind_left_compare_label(menu_file_list_cbs_t *cbs,
BIND_ACTION_LEFT(cbs, action_left_mainmenu);
}
else
{
BIND_ACTION_LEFT(cbs, action_left_scroll);
}
break;
case MENU_ENUM_LABEL_START_VIDEO_PROCESSOR:
case MENU_ENUM_LABEL_TAKE_SCREENSHOT:

View File

@ -584,7 +584,9 @@ static int menu_cbs_init_bind_right_compare_label(menu_file_list_cbs_t *cbs,
BIND_ACTION_RIGHT(cbs, action_right_mainmenu);
}
else
{
BIND_ACTION_RIGHT(cbs, action_right_scroll);
}
break;
case MENU_ENUM_LABEL_START_VIDEO_PROCESSOR:
case MENU_ENUM_LABEL_TAKE_SCREENSHOT: