summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau2011-12-11 14:40:33 -0500
committerTom Rondeau2011-12-11 14:40:33 -0500
commitc08487898c1be6a44f3cd19c0e7ff78095033efe (patch)
treebfd96943515b966d890555ad732b1f8e0a2e35b9
parent1fe488b97ce715ddcab6fa2e3640596a5f23a4e1 (diff)
downloadgnuradio-c08487898c1be6a44f3cd19c0e7ff78095033efe.tar.gz
gnuradio-c08487898c1be6a44f3cd19c0e7ff78095033efe.tar.bz2
gnuradio-c08487898c1be6a44f3cd19c0e7ff78095033efe.zip
vocoder: fixed some unused vars warnings.
-rw-r--r--gr-vocoder/lib/codec2/fft.c2
-rw-r--r--gr-vocoder/lib/codec2/interp.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/gr-vocoder/lib/codec2/fft.c b/gr-vocoder/lib/codec2/fft.c
index a33e4d2c8..a3027e4cd 100644
--- a/gr-vocoder/lib/codec2/fft.c
+++ b/gr-vocoder/lib/codec2/fft.c
@@ -72,7 +72,7 @@ initialize_fft (int n)
void
fft (float x[], int n, int isign)
{
- int isReverse = 0;
+ //int isReverse = 0; // never used
int c;
kiss_fft_cfg cfg;
if (cfg_forward == NULL)
diff --git a/gr-vocoder/lib/codec2/interp.c b/gr-vocoder/lib/codec2/interp.c
index 135d8c9e7..257c4a81c 100644
--- a/gr-vocoder/lib/codec2/interp.c
+++ b/gr-vocoder/lib/codec2/interp.c
@@ -436,7 +436,8 @@ void interpolate_lsp(
float *ak_interp /* interpolated aks for this frame */
)
{
- int l,i;
+ //int l,i;
+ int i;
float lsps[LPC_ORD],e;
float snr;