summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2013-10-06 16:53:07 -0400
committerJohnathan Corgan <johnathan@corganlabs.com>2013-10-06 14:13:47 -0700
commitf62bdd588eeb209bf85f41943a07faba4f7ebc47 (patch)
treea9700756af8974ad987fcc26937f653ff0dd24c1
parent9661044c69b0552d8bcfd873d9e7198b1d3c3e64 (diff)
Fixing CID 1043296: Trivial UNINIT.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
-rw-r--r--gr-vocoder/lib/codec2/quantise.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-vocoder/lib/codec2/quantise.c b/gr-vocoder/lib/codec2/quantise.c
index a44eceee9c..25f26066ed 100644
--- a/gr-vocoder/lib/codec2/quantise.c
+++ b/gr-vocoder/lib/codec2/quantise.c
@@ -166,7 +166,7 @@ void lspd_quantise(
float dlsp_[LPC_MAX];
float wt[1];
const float *cb;
- float se;
+ float se = 0.0;
int indexes[LPC_MAX];
/* convert from radians to Hz so we can use human readable
@@ -227,7 +227,7 @@ void lspdvq_quantise(
float dlsp_[LPC_MAX];
float wt[LPC_ORD];
const float *cb;
- float se;
+ float se = 0.0;
int index;
dlsp[0] = lsp[0];
@@ -359,7 +359,7 @@ float lpc_model_amplitudes(
float lsp_[LPC_MAX];
int roots; /* number of LSP roots found */
int index;
- float se;
+ float se = 0.0;
int k,m;
const float * cb;
float wt[LPC_MAX];