From 0d50fc03ccae297eddc9d19f2a6baf286a27cc56 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Thu, 19 Apr 2012 14:41:40 +0200 Subject: [PATCH] tests: initialize variables --- tests/check/pipelines/streamheader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check/pipelines/streamheader.c b/tests/check/pipelines/streamheader.c index 77e998c..e3c8d06 100644 --- a/tests/check/pipelines/streamheader.c +++ b/tests/check/pipelines/streamheader.c @@ -69,7 +69,7 @@ GST_START_TEST (test_multisocketsink_gdp_tag) GstPad *pad; GMainLoop *loop; int pfd[2]; - GSocket *s[2]; + GSocket *s[2] = { NULL, }; loop = g_main_loop_new (NULL, FALSE); @@ -185,7 +185,7 @@ GST_START_TEST (test_multisocketsink_gdp_vorbisenc) GstPad *pad; GMainLoop *loop; int pfd[2]; - GSocket *s[2]; + GSocket *s[2] = { NULL, }; loop = g_main_loop_new (NULL, FALSE); -- 2.7.4