(menu_displaylist.c) Initialize label

This commit is contained in:
twinaphex 2015-06-12 14:03:08 +02:00
parent 4571485917
commit e6416a6bad

View File

@ -1631,7 +1631,7 @@ static int menu_displaylist_parse_generic(menu_displaylist_info_t *info, bool *n
{
bool is_dir;
const char *path = NULL;
char label[PATH_MAX_LENGTH];
char label[PATH_MAX_LENGTH] = {0};
menu_file_type_t file_type = MENU_FILE_NONE;
switch (str_list->elems[i].attr.i)