From: Matthew Jordan Date: Fri, 20 Jan 2012 15:54:32 +0000 (+0000) Subject: Remove unused variable 'tmp' from helpfun in ilbc codec X-Git-Tag: 10.2.0-rc1~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6e5f714e6dad4d6ea9e9a3b537d6b7bf9275efa;p=thirdparty%2Fasterisk.git Remove unused variable 'tmp' from helpfun in ilbc codec gcc version 4.6.2 caught an unused variable in the ilbc codec library. This would prevent compilation with --enable-dev-mode; variable removed. ........ Merged revisions 351760 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@351761 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/codecs/ilbc/helpfun.c b/codecs/ilbc/helpfun.c index 1aba65788f..b79ac4f393 100644 --- a/codecs/ilbc/helpfun.c +++ b/codecs/ilbc/helpfun.c @@ -277,7 +277,6 @@ table */ ){ int k,n,m, Nit=2, change=0,pos; - float tmp; static float eps=(float)0.039; /* 50 Hz */ static float eps2=(float)0.0195; static float maxlsf=(float)3.14; /* 4000 Hz */ @@ -293,7 +292,6 @@ if ((lsf[pos+1]-lsf[pos])