(core_info.c) Get rid of potential uninitialized variable warning

This commit is contained in:
twinaphex 2013-11-29 03:03:06 +01:00
parent a3b5d8d7d7
commit 61f0ec3e25

View File

@ -64,7 +64,7 @@ static void core_info_list_resolve_all_firmware(core_info_list_t *core_info_list
if (!info->data)
continue;
unsigned count;
unsigned count = 0;
if (!config_get_uint(info->data, "firmware_count", &count))
continue;