Get rid of the hash generation in menu_cbs.c

This commit is contained in:
twinaphex 2020-03-27 19:09:50 +01:00
parent 79dc998a7b
commit 66eed86ccf
2 changed files with 0 additions and 7 deletions

View File

@ -210,8 +210,6 @@ void menu_cbs_init(void *data,
menu_ctx_bind_t bind_info;
const char *repr_label = NULL;
const char *menu_label = NULL;
uint32_t label_hash = 0;
uint32_t menu_label_hash = 0;
enum msg_hash_enums enum_idx = MSG_UNKNOWN;
file_list_t *list = (file_list_t*)data;
if (!list)
@ -222,9 +220,6 @@ void menu_cbs_init(void *data,
if (!label || !menu_label)
return;
label_hash = msg_hash_calculate(label);
menu_label_hash = msg_hash_calculate(menu_label);
#ifdef DEBUG_LOG
RARCH_LOG("\n");
#endif
@ -343,7 +338,6 @@ void menu_cbs_init(void *data,
bind_info.label = label;
bind_info.type = type;
bind_info.idx = idx;
bind_info.label_hash = label_hash;
menu_driver_ctl(RARCH_MENU_CTL_BIND_INIT, &bind_info);
}

View File

@ -378,7 +378,6 @@ typedef struct menu_ctx_bind
const char *path;
const char *label;
unsigned type;
uint32_t label_hash;
size_t idx;
int retcode;
menu_file_list_cbs_t *cbs;