Neither start nor end are used. The loop simply adds up the entries of one
line of the exponent_bands matrix.
Found by the clang analyzer.
/ ahi->sample_rate + 0.5);
n = exponent_size;
pos = 0;
- for (i = 0; i < n; i++) {
- int start, end;
- start = pos;
+ for (i = 0; i < n; i++)
pos += pwd->exponent_bands[k][i];
- end = pos;
- if (start < pwd->high_band_start[k])
- start = pwd->high_band_start[k];
- if (end > pwd->coefs_end[k])
- end = pwd->coefs_end[k];
- }
}
}