From: Moises Silva Date: Wed, 20 Oct 2010 14:31:18 +0000 (-0400) Subject: mod_sangoma_codec: fix compilation warning/error X-Git-Tag: v1.2-rc1~265^2~11^2~154^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3baa433e0ba3227e06cd0dd00532d7acd5c6c437;p=thirdparty%2Ffreeswitch.git mod_sangoma_codec: fix compilation warning/error --- diff --git a/src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c b/src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c index 4b43487034..84a4cdffc9 100644 --- a/src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c +++ b/src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c @@ -596,9 +596,9 @@ static switch_status_t switch_sangoma_decode(switch_codec_t *codec, /* codec ses * whether the buffer passed in by the core will be enough */ switch_frame_t encoded_frame; switch_frame_t ulaw_frame; - switch_status_t sres; - switch_time_t now_time, difftime; - switch_time_t func_start_time, func_end_time; + switch_status_t sres = 0; + switch_time_t now_time = 0, difftime = 0; + switch_time_t func_start_time = 0, func_end_time = 0; short *dbuf_linear; int i = 0; int res = 0;