[asterisk-commits] russell: trunk r39014 - /trunk/apps/app_chanspy.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Aug 5 04:25:36 MST 2006


Author: russell
Date: Sat Aug  5 06:25:36 2006
New Revision: 39014

URL: http://svn.digium.com/view/asterisk?rev=39014&view=rev
Log:
suppress a compiler warning about the usage of a potentially uninitialized
variable

Modified:
    trunk/apps/app_chanspy.c

Modified: trunk/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_chanspy.c?rev=39014&r1=39013&r2=39014&view=diff
==============================================================================
--- trunk/apps/app_chanspy.c (original)
+++ trunk/apps/app_chanspy.c Sat Aug  5 06:25:36 2006
@@ -260,7 +260,7 @@
 		       const struct ast_flags *flags) 
 {
 	struct chanspy_translation_helper csth;
-	int running, res, x = 0;
+	int running = 0, res, x = 0;
 	char inp[24] = {0};
 	char *name;
 	struct ast_frame *f;



More information about the asterisk-commits mailing list