summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_format_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_format_api.c b/tests/test_format_api.c
index dc27725a5..51a6bc511 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)) {