diff options
author | Matthew Jordan <mjordan@digium.com> | 2012-01-20 16:00:13 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2012-01-20 16:00:13 +0000 |
commit | 7a442b017c35d58a5cd90c408840c79daf1788c0 (patch) | |
tree | 749a8577cd51b4dca4fe98353b3964523693f8d0 /codecs/ilbc | |
parent | f4f5ccf5d746721c5ad882da851dff8dfdded683 (diff) |
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
........
Merged revisions 351761 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@351763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/ilbc')
-rw-r--r-- | codecs/ilbc/helpfun.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/codecs/ilbc/helpfun.c b/codecs/ilbc/helpfun.c index 1aba65788..b79ac4f39 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])<eps) { if (lsf[pos+1]<lsf[pos]) { - tmp=lsf[pos+1]; lsf[pos+1]= lsf[pos]+eps2; lsf[pos]= lsf[pos+1]-eps2; } else { |