tests: initialize variables
authorStefan Sauer <ensonic@users.sf.net>
Thu, 19 Apr 2012 12:41:40 +0000 (14:41 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Wed, 25 Apr 2012 07:23:28 +0000 (09:23 +0200)
tests/check/pipelines/streamheader.c

index 77e998c..e3c8d06 100644 (file)
@@ -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);