[asterisk-commits] russell: branch 1.2 r38903 - /branches/1.2/channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Aug 4 22:07:40 MST 2006


Author: russell
Date: Sat Aug  5 00:07:39 2006
New Revision: 38903

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

Modified:
    branches/1.2/channel.c

Modified: branches/1.2/channel.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channel.c?rev=38903&r1=38902&r2=38903&view=diff
==============================================================================
--- branches/1.2/channel.c (original)
+++ branches/1.2/channel.c Sat Aug  5 00:07:39 2006
@@ -3440,7 +3440,7 @@
 	}
 
 	for (/* ever */;;) {
-		struct timeval now;
+		struct timeval now = { 0, };
 		int to;
 
 		to = -1;



More information about the asterisk-commits mailing list