Silence warnings

This commit is contained in:
twinaphex 2017-01-18 14:17:09 +01:00
parent 7ad717cb5c
commit bf56463b76
2 changed files with 3 additions and 5 deletions

View File

@ -480,8 +480,7 @@ int menu_hash_get_help_de_enum(enum msg_hash_enums msg, char *s, size_t len)
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OVERLAY_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_HIDE_IN_MENU)
);
break;
break;
break;
case MENU_ENUM_LABEL_VALUE_HELP_SCANNING_CONTENT_DESC:
snprintf(s, len,
"Um Inhalte zu suchen, gehe zu '%s' und\n"

View File

@ -832,11 +832,10 @@ static void mui_render_menu_list(mui_handle_t *mui,
char rich_label[255];
char entry_value[255];
bool entry_selected = false;
char sublabel_str[255];
mui_node_t *node = (mui_node_t*)
mui_node_t *node = (mui_node_t*)
menu_entries_get_userdata_at_offset(list, i);
rich_label[0] = entry_value[0] = sublabel_str[0] = '\0';
rich_label[0] = entry_value[0] = '\0';
if (!menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection))
continue;