From 07f8c2a4e633975e57680cabde09b9db01d5c4fc 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 77e998c1cb..e3c8d06e89 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);