From: Kevin P. Fleming Date: Wed, 8 Feb 2012 21:25:57 +0000 (+0000) Subject: Restore some variables removed by the 'cppcheck' patch that were actually needed. X-Git-Tag: 11.0.0-beta1~685 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0e321b88ac5be7c36cbd5770886a43e33ee3525;p=thirdparty%2Fasterisk.git Restore some variables removed by the 'cppcheck' patch that were actually needed. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354450 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 4288532ff3..ee6e0024ec 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -18899,6 +18899,9 @@ static int dahdi_sendtext(struct ast_channel *c, const char *text) int size,res,fd,len,x; int bytes=0; /* Initial carrier (imaginary) */ + float cr = 1.0; + float ci = 0.0; + float scont = 0.0; int idx; if (!text[0]) {