summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2012-04-19 14:41:40 +0200
committerTim-Philipp Müller <tim@centricular.net>2012-09-11 01:54:46 +0100
commit07f8c2a4e633975e57680cabde09b9db01d5c4fc (patch)
treed5e5bc5f63bf1bd915772d57638a888ca11746de
parentb928640b5edf3549808c269eb5603744aed3c3f5 (diff)
tests: initialize variables
-rw-r--r--tests/check/pipelines/streamheader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/pipelines/streamheader.c b/tests/check/pipelines/streamheader.c
index 77e998c1c..e3c8d06e8 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);