mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Get rid of error_msg label
This commit is contained in:
parent
82d37d2036
commit
c53bb90b75
@ -159,7 +159,7 @@ bool task_push_audio_mixer_load(const char *fullpath, retro_task_callback_t cb,
|
||||
retro_task_t *t = (retro_task_t*)calloc(1, sizeof(*t));
|
||||
|
||||
if (!t)
|
||||
goto error_msg;
|
||||
goto error;
|
||||
|
||||
nbio = (nbio_handle_t*)calloc(1, sizeof(*nbio));
|
||||
|
||||
@ -214,9 +214,9 @@ error:
|
||||
nbio_free(nbio->handle);
|
||||
free(nbio);
|
||||
}
|
||||
free(t);
|
||||
if (t)
|
||||
free(t);
|
||||
|
||||
error_msg:
|
||||
RARCH_ERR("[audio mixer load] Failed to open '%s': %s.\n",
|
||||
fullpath, strerror(errno));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user