Initialize with ST_NONE

This commit is contained in:
twinaphex 2015-06-13 04:37:40 +02:00
parent 6183a124ad
commit a926434c4f

View File

@ -1625,7 +1625,7 @@ static rarch_setting_t setting_action_setting(const char* name,
const char *group, const char *subgroup,
const char *parent_group)
{
rarch_setting_t result = {0};
rarch_setting_t result = {ST_NONE};
result.type = ST_ACTION;
result.name = name;
@ -1661,7 +1661,7 @@ static rarch_setting_t setting_action_setting(const char* name,
static rarch_setting_t setting_group_setting(enum setting_type type, const char* name,
const char *parent_group)
{
rarch_setting_t result = {0};
rarch_setting_t result = {ST_NONE};
result.parent_group = parent_group;
result.type = type;
@ -1686,7 +1686,7 @@ static rarch_setting_t setting_group_setting(enum setting_type type, const char*
static rarch_setting_t setting_subgroup_setting(enum setting_type type,
const char* name, const char *parent_name, const char *parent_group)
{
rarch_setting_t result = {0};
rarch_setting_t result = {ST_NONE};
result.type = type;
result.name = name;
@ -1722,7 +1722,7 @@ static rarch_setting_t setting_float_setting(const char* name,
const char *parent_group,
change_handler_t change_handler, change_handler_t read_handler)
{
rarch_setting_t result = {0};
rarch_setting_t result = {ST_NONE};
result.type = ST_FLOAT;
result.name = name;
@ -1773,7 +1773,7 @@ static rarch_setting_t setting_bool_setting(const char* name,
const char *group, const char *subgroup, const char *parent_group,
change_handler_t change_handler, change_handler_t read_handler)
{
rarch_setting_t result = {0};
rarch_setting_t result = {ST_NONE};
result.type = ST_BOOL;
result.name = name;
@ -1867,7 +1867,7 @@ static rarch_setting_t setting_uint_setting(const char* name,
const char *group, const char *subgroup, const char *parent_group,
change_handler_t change_handler, change_handler_t read_handler)
{
rarch_setting_t result = {0};
rarch_setting_t result = {ST_NONE};
result.type = ST_UINT;
result.name = name;
@ -1914,7 +1914,7 @@ static rarch_setting_t setting_hex_setting(const char* name,
const char *group, const char *subgroup, const char *parent_group,
change_handler_t change_handler, change_handler_t read_handler)
{
rarch_setting_t result = {0};
rarch_setting_t result = {ST_NONE};
result.type = ST_HEX;
result.name = name;
@ -1961,7 +1961,7 @@ static rarch_setting_t setting_bind_setting(const char* name,
const struct retro_keybind* default_value,
const char *group, const char *subgroup, const char *parent_group)
{
rarch_setting_t result = {0};
rarch_setting_t result = {ST_NONE};
result.type = ST_BIND;
result.name = name;
@ -2009,7 +2009,7 @@ rarch_setting_t setting_string_setting(enum setting_type type,
change_handler_t change_handler,
change_handler_t read_handler)
{
rarch_setting_t result = {0};
rarch_setting_t result = {ST_NONE};
result.type = type;
result.name = name;