]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix build
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 24 Sep 2009 16:44:02 +0000 (16:44 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 24 Sep 2009 16:44:02 +0000 (16:44 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@841 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/src/libteletone_detect.c

index b41a04ae4233c3e26432d7161c772870a9f4971c..61fef90149b328f07146584eb0faefa11ddf9e76 100644 (file)
@@ -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) {