Skip to content

Commit

Permalink
Prevent 'logically dead code' warning
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Jun 5, 2016
1 parent b110b08 commit 6d11f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion list_special.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6d11f4a

Please sign in to comment.