To support this change, turn on lots more compiler warnings, and fix all the warnings generated.
Showing the changes to src/highpass.c (1 of 93 files). Show all
Unified · Split
| @@ -1,5 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | |||
| 3 | High-pass effect file for SoX | 2 | High-pass effect file for SoX |
| 4 | Copyright (C) 1999 Jan Paul Schmidt <jps@fundament.org> | 3 | Copyright (C) 1999 Jan Paul Schmidt <jps@fundament.org> |
| 5 | 4 | ||
| @@ -38,7 +37,7 @@ · 32 unmodified lines | |||
| 38 | 37 | ||
| 39 | static st_effect_t st_highpass_effect; | 38 | static st_effect_t st_highpass_effect; |
| 40 | 39 | ||
| 41 | int st_highpass_getopts(eff_t effp, int n, char **argv) | 40 | static int st_highpass_getopts(eff_t effp, int n, char **argv) |
| 42 | { | 41 | { |
| 43 | butterworth_t butterworth = (butterworth_t)effp->priv; | 42 | butterworth_t butterworth = (butterworth_t)effp->priv; |
| 44 | 43 | ||
| @@ -56,9 +55,7 @@ int st_highpass_getopts(eff_t effp, int n, char **argv) · 11 unmodified lines | |||
| 56 | return (ST_SUCCESS); | 55 | return (ST_SUCCESS); |
| 57 | } | 56 | } |
| 58 | 57 | ||
| 59 | 58 | static int st_highpass_start(eff_t effp) | |
| 60 | |||
| 61 | int st_highpass_start(eff_t effp) | ||
| 62 | { | 59 | { |
| 63 | butterworth_t butterworth = (butterworth_t) effp->priv; | 60 | butterworth_t butterworth = (butterworth_t) effp->priv; |
| 64 | double c; | 61 | double c; |