mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(content.c) Add fallthrough
This commit is contained in:
parent
4df0fb4e07
commit
40beb7092a
@ -760,7 +760,6 @@ static bool content_init_file(struct string_list *temporary_content)
|
||||
error:
|
||||
if (content)
|
||||
string_list_free(content);
|
||||
content_ctl(CONTENT_CTL_TEMPORARY_FREE, NULL);
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -772,7 +771,9 @@ bool content_ctl(enum content_ctl_state state, void *data)
|
||||
switch(state)
|
||||
{
|
||||
case CONTENT_CTL_INIT:
|
||||
return content_init_file(temporary_content);
|
||||
if (content_init_file(temporary_content))
|
||||
return true;
|
||||
/* fall-through */
|
||||
case CONTENT_CTL_TEMPORARY_FREE:
|
||||
if (!temporary_content)
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user