[xiph-commits] r12132 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Sun Nov 19 06:49:59 PST 2006


Author: jm
Date: 2006-11-19 06:49:56 -0800 (Sun, 19 Nov 2006)
New Revision: 12132

Modified:
   trunk/speex/libspeex/filters.c
   trunk/speex/libspeex/ltp.c
Log:
should no longer complain about unused var with the float build.


Modified: trunk/speex/libspeex/filters.c
===================================================================
--- trunk/speex/libspeex/filters.c	2006-11-19 02:33:03 UTC (rev 12131)
+++ trunk/speex/libspeex/filters.c	2006-11-19 14:49:56 UTC (rev 12132)
@@ -784,7 +784,9 @@
    spx_word16_t g1, g2;
    spx_word16_t ngain;
    spx_word16_t gg1, gg2;
+#ifdef FIXED_POINT
    int scaledown=0;
+#endif
 #if 0 /* Set to 1 to enable full pitch search */
    int nol_pitch[6];
    spx_word16_t nol_pitch_coef[6];

Modified: trunk/speex/libspeex/ltp.c
===================================================================
--- trunk/speex/libspeex/ltp.c	2006-11-19 02:33:03 UTC (rev 12131)
+++ trunk/speex/libspeex/ltp.c	2006-11-19 14:49:56 UTC (rev 12132)
@@ -177,7 +177,9 @@
    spx_word32_t e0;
    VARDECL(spx_word32_t *corr);
    VARDECL(spx_word32_t *energy);
+#ifdef FIXED_POINT
    int scaledown = 0;
+#endif
    
    ALLOC(best_score, N, spx_word32_t);
    ALLOC(best_ener, N, spx_word32_t);



More information about the commits mailing list