mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Apparently Coverity doesn't like this either.
This commit is contained in:
parent
a7e8707f7d
commit
2bd3e94e5e
@ -305,7 +305,7 @@ static void fft_step(glfft_t *fft,
|
|||||||
|
|
||||||
static inline unsigned log2i(unsigned x)
|
static inline unsigned log2i(unsigned x)
|
||||||
{
|
{
|
||||||
if (x==0) return 0xBADF00D4U; // shouldn't happen
|
if (x==0) return 0; // shouldn't happen
|
||||||
|
|
||||||
unsigned res;
|
unsigned res;
|
||||||
for (res = 0; x; x >>= 1)
|
for (res = 0; x; x >>= 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user