mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
Cleanup stupid code.
This commit is contained in:
parent
70587bc0df
commit
884c113645
@ -48,10 +48,7 @@ static inline float hermite_kernel(float mu1, float a, float b, float c, float d
|
||||
|
||||
hermite_resampler_t *hermite_new(void)
|
||||
{
|
||||
hermite_resampler_t *re = (hermite_resampler_t*)calloc(1, sizeof(*re));
|
||||
if (!re)
|
||||
return NULL;
|
||||
return re;
|
||||
return (hermite_resampler_t*)calloc(1, sizeof(hermite_resampler_t));
|
||||
}
|
||||
|
||||
// We make sure to allocate enough output data beforehand ... ;)
|
||||
|
Loading…
x
Reference in New Issue
Block a user