Commit eb9213a5 authored by malenov's avatar malenov
Browse files

put {} in the empty-body 'for' loop to be properly instrumented

parent ef53480d
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -126,13 +126,13 @@ static void scramble(LC3_FLOAT* re, LC3_FLOAT* im, LC3_INT n, LC3_INT s)
    LC3_FLOAT tmp;
    LC3_INT   m, k, j;

    for (m = 1, j = 0; m < (n - 1); m++) {
    for (m = 1, j = 0; m < (n - 1); m++) 
    {
        for (k = n >> 1; (!((j ^= k) & k)); k >>= 1)
                ;
        }
        {}

        if (j > m) {
        if (j > m) 
        {
            tmp       = re[s * m];
            re[s * m] = re[s * j];
            re[s * j] = tmp;