(libretro-common) Cleanup

This commit is contained in:
twinaphex 2016-12-12 14:09:58 +01:00
parent f7199e28de
commit 0c9a831bf3

View File

@ -160,12 +160,11 @@ bool rarch_resampler_realloc(void **re, const rarch_resampler_t **backend,
*backend = find_resampler_driver(ident);
if (!resampler_append_plugs(re, backend, bw_ratio))
goto error;
{
if (!*re)
*backend = NULL;
return false;
}
return true;
error:
if (!*re)
*backend = NULL;
return false;
}