From 9fc0d9be66c246c2664e9fad96a35b41ebf7d460 Mon Sep 17 00:00:00 2001
From: Richard Mudgett <rmudgett@digium.com>
Date: Fri, 4 Feb 2011 19:09:00 +0000
Subject: [PATCH] Fix compiler warning.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 tests/test_format_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_format_api.c b/tests/test_format_api.c
index dc27725a55..51a6bc5117 100644
--- a/tests/test_format_api.c
+++ b/tests/test_format_api.c
@@ -299,7 +299,7 @@ static int container_test1_helper(struct ast_format_cap *cap1, struct ast_format
 {
 
 	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)) {
-- 
GitLab