Prevent 'logically dead code' warning

This commit is contained in:
twinaphex 2016-06-05 19:09:54 +02:00
parent b110b08b25
commit 6d11f4ab9b

View File

@ -266,7 +266,7 @@ struct string_list *string_list_new_special(enum string_list_type type,
for (i = 0; i < *list_size; i++)
{
const char *opt = NULL;
const core_info_t *info = (const core_info_t*)&core_info[i];
core_info_t *info = (core_info_t*)&core_info[i];
if (!info)
goto error;