Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f23c2bad authored by Martin Storsjo's avatar Martin Storsjo
Browse files

Avoid mixing declarations and statements in C89 source files

Prior to adding the UNUSED macro, this file built just fine in C89
mode. Move the macro call to after the local variable declarations,
to avoid mixing declarations and statements (which isn't allowed
in C89 mode).

Change-Id: I09299a07103d47298a0086f7c639d2be696b19ce
parent bd08223c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -245,10 +245,9 @@ Word16 iLog4(Word32 value)
Word32 rsqrt(Word32 value,     /*!< Operand to square root (0.0 ... 1) */
             Word32 accuracy)  /*!< Number of valid bits that will be calculated */
{
    UNUSED(accuracy);

    Word32 root = 0;
	Word32 scale;
    UNUSED(accuracy);

	if(value < 0)
		return 0;