[asterisk-commits] rmudgett: trunk r306326 - /trunk/tests/test_format_api.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 4 13:09:03 CST 2011


Author: rmudgett
Date: Fri Feb  4 13:09:00 2011
New Revision: 306326

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=306326
Log:
Fix compiler warning.

Modified:
    trunk/tests/test_format_api.c

Modified: trunk/tests/test_format_api.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_format_api.c?view=diff&rev=306326&r1=306325&r2=306326
==============================================================================
--- trunk/tests/test_format_api.c (original)
+++ trunk/tests/test_format_api.c Fri Feb  4 13:09:00 2011
@@ -299,7 +299,7 @@
 {
 
 	int res = AST_TEST_PASS;
-	struct ast_format_cap *cap_joint;
+	struct ast_format_cap *cap_joint = NULL;
 	struct ast_format tmpformat;
 
 	if (ast_format_attr_reg_interface(&test_interface)) {




More information about the asterisk-commits mailing list