[asterisk-commits] russell: trunk r107103 - in /trunk: ./ main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 10 12:13:35 CDT 2008


Author: russell
Date: Mon Mar 10 12:13:34 2008
New Revision: 107103

URL: http://svn.digium.com/view/asterisk?view=rev&rev=107103
Log:
Merged revisions 107102 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107102 | russell | 2008-03-10 12:13:17 -0500 (Mon, 10 Mar 2008) | 2 lines

Resolve a compiler warning.

........

Modified:
    trunk/   (props changed)
    trunk/main/channel.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=107103&r1=107102&r2=107103
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Mon Mar 10 12:13:34 2008
@@ -1705,7 +1705,7 @@
 	/* Called if generator doesn't have data */
 	void *tmp;
 	int res;
-	int (*generate)(struct ast_channel *chan, void *tmp, int datalen, int samples);
+	int (*generate)(struct ast_channel *chan, void *tmp, int datalen, int samples) = NULL;
 	struct ast_channel *chan = (struct ast_channel *)data;
 
 	ast_channel_lock(chan);




More information about the asterisk-commits mailing list