Apparently Coverity doesn't like this either.

This commit is contained in:
Alcaro 2016-06-29 18:01:07 +02:00
parent a7e8707f7d
commit 2bd3e94e5e

View File

@ -305,7 +305,7 @@ static void fft_step(glfft_t *fft,
static inline unsigned log2i(unsigned x)
{
if (x==0) return 0xBADF00D4U; // shouldn't happen
if (x==0) return 0; // shouldn't happen
unsigned res;
for (res = 0; x; x >>= 1)