Remove #if 0 ifdefs

This commit is contained in:
twinaphex 2016-06-17 17:43:53 +02:00
parent ac26746106
commit a94b2a47f1
6 changed files with 1 additions and 13 deletions

View File

@ -604,7 +604,6 @@ static int menu_cbs_init_bind_deferred_push_compare_label(
} }
else else
{ {
#if 0
if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN) if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN)
{ {
switch (cbs->enum_idx) switch (cbs->enum_idx)
@ -827,7 +826,6 @@ static int menu_cbs_init_bind_deferred_push_compare_label(
} }
} }
else else
#endif
{ {
switch (label_hash) switch (label_hash)
{ {

View File

@ -1355,7 +1355,6 @@ static void menu_action_setting_disp_set_label(file_list_t* list,
static int menu_cbs_init_bind_get_string_representation_compare_label( static int menu_cbs_init_bind_get_string_representation_compare_label(
menu_file_list_cbs_t *cbs, uint32_t label_hash) menu_file_list_cbs_t *cbs, uint32_t label_hash)
{ {
#if 0
if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN) if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN)
{ {
switch (cbs->enum_idx) switch (cbs->enum_idx)
@ -1380,7 +1379,7 @@ static int menu_cbs_init_bind_get_string_representation_compare_label(
BIND_ACTION_GET_VALUE(cbs, BIND_ACTION_GET_VALUE(cbs,
menu_action_setting_disp_set_label_thumbnails); menu_action_setting_disp_set_label_thumbnails);
break; break;
case MENU_ENUM_LABEL_INPUT_MENU_TOGGLE_GAMEPAD_COMBO: case MENU_ENUM_LABEL_INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO:
BIND_ACTION_GET_VALUE(cbs, BIND_ACTION_GET_VALUE(cbs,
menu_action_setting_disp_set_label_menu_toggle_gamepad_combo); menu_action_setting_disp_set_label_menu_toggle_gamepad_combo);
break; break;
@ -1467,7 +1466,6 @@ static int menu_cbs_init_bind_get_string_representation_compare_label(
} }
} }
else else
#endif
{ {
switch (label_hash) switch (label_hash)
{ {

View File

@ -422,7 +422,6 @@ static int menu_cbs_init_bind_left_compare_label(menu_file_list_cbs_t *cbs,
} }
else else
{ {
#if 0
if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN) if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN)
{ {
switch (cbs->enum_idx) switch (cbs->enum_idx)
@ -459,7 +458,6 @@ static int menu_cbs_init_bind_left_compare_label(menu_file_list_cbs_t *cbs,
} }
else else
#endif
{ {
switch (label_hash) switch (label_hash)
{ {

View File

@ -2562,7 +2562,6 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs,
return 0; return 0;
} }
#if 0
if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN) if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN)
{ {
switch (cbs->enum_idx) switch (cbs->enum_idx)
@ -2803,7 +2802,6 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs,
} }
} }
else else
#endif
{ {
switch (hash) switch (hash)
{ {

View File

@ -537,7 +537,6 @@ static int menu_cbs_init_bind_right_compare_label(menu_file_list_cbs_t *cbs,
} }
else else
{ {
#if 0
if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN) if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN)
{ {
switch (cbs->enum_idx) switch (cbs->enum_idx)
@ -573,7 +572,6 @@ static int menu_cbs_init_bind_right_compare_label(menu_file_list_cbs_t *cbs,
} }
} }
else else
#endif
{ {
switch (label_hash) switch (label_hash)
{ {

View File

@ -702,7 +702,6 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
} }
} }
#if 0
if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN) if (cbs->enum_idx != MENU_ENUM_LABEL_UNKNOWN)
{ {
switch (cbs->enum_idx) switch (cbs->enum_idx)
@ -982,7 +981,6 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
} }
} }
else else
#endif
{ {
switch (label_hash) switch (label_hash)
{ {