From fff4b8ddcf885b00efa06b547e255f0e23ad3908 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 23 Sep 2016 16:08:12 +0200 Subject: [PATCH] Prevent some warnings --- menu/menu_setting.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 589051dd31..395e3f620b 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -5935,7 +5935,7 @@ static bool setting_append_list( &settings->network_remote_enable, msg_hash_to_str(MENU_ENUM_LABEL_NETWORK_REMOTE_ENABLE), msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NETWORK_REMOTE_ENABLE), - "", /* todo: add default */ + false, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), &group_info, @@ -5975,7 +5975,7 @@ static bool setting_append_list( /* todo: figure out this value, it's working fine but I don't think this is correct */ strdup(s1), strdup(s2), - "", /* todo: add default */ + false, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF), msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON), &group_info,