Restore some variables removed by the 'cppcheck' patch that were actually needed.
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 8 Feb 2012 21:25:57 +0000 (21:25 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 8 Feb 2012 21:25:57 +0000 (21:25 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354450 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index 4288532..ee6e002 100644 (file)
@@ -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]) {