[asterisk-commits] mmichelson: branch 1.4 r259104 - /branches/1.4/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 26 16:44:47 CDT 2010


Author: mmichelson
Date: Mon Apr 26 16:44:43 2010
New Revision: 259104

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=259104
Log:
Let compilation succeed warning-free when DONT_OPTIMIZE is turned off.


Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/channel.c?view=diff&rev=259104&r1=259103&r2=259104
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Mon Apr 26 16:44:43 2010
@@ -714,7 +714,7 @@
 	int flags;
 	struct varshead *headp;
 	va_list ap1, ap2;
-	char *tech;
+	char *tech = "";
 
 	/* If shutting down, don't allocate any new channels */
 	if (shutting_down) {




More information about the asterisk-commits mailing list