From 6084d2b269aec4a6c3237d3139a576495a8861b1 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 24 Sep 2009 16:44:02 +0000 Subject: [PATCH] fix build git-svn-id: http://svn.openzap.org/svn/openzap/trunk@841 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/libteletone_detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/openzap/src/libteletone_detect.c b/libs/openzap/src/libteletone_detect.c index b41a04ae42..61fef90149 100644 --- a/libs/openzap/src/libteletone_detect.c +++ b/libs/openzap/src/libteletone_detect.c @@ -182,7 +182,7 @@ TELETONE_API(int) teletone_multi_tone_detect (teletone_multi_tone_t *mt, { int sample, limit = 0, j, x = 0; float v1, famp; - float eng_sum = 0, eng_all[TELETONE_MAX_TONES]; + float eng_sum = 0, eng_all[TELETONE_MAX_TONES] = {0.0}; int gtest = 0, see_hit = 0; for (sample = 0; sample >= 0 && sample < samples; sample = limit) {