Module: sems
Branch: master
Commit: 3e907c5ec7dedea92907735f46666c1a9dfdb823
URL: 
https://github.com/sems-server/sems/commit/3e907c5ec7dedea92907735f46666c1a9dfdb823

Author: Juha Heinanen <j...@tutpro.com>
Committer: Juha Heinanen <j...@tutpro.com>
Date: 2015-06-10T10:47:52+03:00

core/plugin/ilbc: remove unused variable in order suppress compiler warning

---

Modified: core/plug-in/ilbc/iLBC_rfc3951/helpfun.c

---

Diff:  
https://github.com/sems-server/sems/commit/3e907c5ec7dedea92907735f46666c1a9dfdb823.diff
Patch: 
https://github.com/sems-server/sems/commit/3e907c5ec7dedea92907735f46666c1a9dfdb823.patch

---

diff --git a/core/plug-in/ilbc/iLBC_rfc3951/helpfun.c 
b/core/plug-in/ilbc/iLBC_rfc3951/helpfun.c
index 1aba657..b79ac4f 100644
--- a/core/plug-in/ilbc/iLBC_rfc3951/helpfun.c
+++ b/core/plug-in/ilbc/iLBC_rfc3951/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 {

_______________________________________________
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to