To support this change, turn on lots more compiler warnings, and fix all the warnings generated.
Showing the changes to src/resample.c (1 of 93 files). Show all
Unified · Split
| @@ -158,7 +158,7 @@ static long SrcEX(resample_t r, long Nx); · 157 unmodified lines | ||
| 158 | 158 | /* |
| 159 | 159 | * Process options |
| 160 | 160 | */ |
| 161 | −int st_resample_getopts(eff_t effp, int n, char **argv) | |
| 161 | +int st_resample_getopts(eff_t effp, int n, char **argv) | |
| 162 | 162 | { |
| 163 | 163 | resample_t r = (resample_t) effp->priv; |
| 164 | 164 | |
| @@ -392,7 +392,6 @@ int st_resample_flow(eff_t effp, const st_sample_t *ibuf, st_sample_t *obuf, · 227 unmodified lines | ||
| 392 | 392 | r->Xp = r->Xoff; |
| 393 | 393 | |
| 394 | 394 | for(i=0; i < Nout; i++) { |
| 395 | − // orig: *obuf++ = r->Y[i] * ISCALE; | |
| 396 | 395 | double ftemp = r->Y[i] * ISCALE; |
| 397 | 396 | |
| 398 | 397 | ST_SAMPLE_CLIP_COUNT(ftemp, effp->clippedCount); |