Remove all hashes

This commit is contained in:
twinaphex 2018-02-07 23:41:25 +01:00
parent 596901b335
commit cd33e39040
4 changed files with 0 additions and 9 deletions

View File

@ -209,7 +209,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;
enum msg_hash_enums enum_idx = MSG_UNKNOWN;
file_list_t *list = (file_list_t*)data;
if (!list)
@ -220,8 +219,6 @@ void menu_cbs_init(void *data,
if (!label || !menu_label)
return;
label_hash = msg_hash_calculate(label);
#ifdef DEBUG_LOG
RARCH_LOG("\n");
#endif
@ -341,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

@ -4073,8 +4073,6 @@ bool menu_displaylist_process(menu_displaylist_info_t *info)
MENU_ENUM_LABEL_NO_PLAYLIST_ENTRIES_AVAILABLE,
MENU_INFO_MESSAGE, 0, 0);
if (!string_is_empty(info->label))
info->label_hash = msg_hash_calculate(info->label);
menu_driver_populate_entries(info);
ui_companion_driver_notify_list_loaded(info->list, info->menu_list);
}
@ -4120,7 +4118,6 @@ void menu_displaylist_info_init(menu_displaylist_info_t *info)
info->type = 0;
info->type_default = 0;
info->flags = 0;
info->label_hash = 0;
info->directory_ptr = 0;
info->label = NULL;
info->path = NULL;

View File

@ -194,7 +194,6 @@ typedef struct menu_displaylist_info
unsigned type;
unsigned type_default;
unsigned flags;
uint32_t label_hash;
size_t directory_ptr;
file_list_t *list;
file_list_t *menu_list;

View File

@ -552,7 +552,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;