[asterisk-commits] kpfleming: trunk r354450 - /trunk/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 8 15:26:01 CST 2012


Author: kpfleming
Date: Wed Feb  8 15:25:57 2012
New Revision: 354450

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=354450
Log:
Restore some variables removed by the 'cppcheck' patch that were actually needed.


Modified:
    trunk/channels/chan_dahdi.c

Modified: trunk/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=354450&r1=354449&r2=354450
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Wed Feb  8 15:25:57 2012
@@ -18899,6 +18899,9 @@
 	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]) {




More information about the asterisk-commits mailing list