[svn-commits] russell: branch 1.4 r107102 - /branches/1.4/main/channel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Mar 10 12:13:17 CDT 2008


Author: russell
Date: Mon Mar 10 12:13:17 2008
New Revision: 107102

URL: http://svn.digium.com/view/asterisk?view=rev&rev=107102
Log:
Resolve a compiler warning.

Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/channel.c?view=diff&rev=107102&r1=107101&r2=107102
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Mon Mar 10 12:13:17 2008
@@ -1554,7 +1554,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 svn-commits mailing list