mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
utils: Fix unititialized variable compiler warning
This commit is contained in:
parent
2e4ce5caf6
commit
fd14754921
1 changed files with 4 additions and 0 deletions
|
@ -1413,6 +1413,8 @@ test_link (const gchar * expectation, const gchar * srcname,
|
|||
src = gst_element_factory_make ("fakesrc", NULL);
|
||||
else if (g_strcmp0 (srcname, "staticsink") == 0)
|
||||
src = gst_element_factory_make ("fakesink", NULL);
|
||||
else
|
||||
g_assert_not_reached ();
|
||||
|
||||
if (g_strcmp0 (sinkname, "requestsink") == 0)
|
||||
sink = gst_element_factory_make ("funnel", NULL);
|
||||
|
@ -1424,6 +1426,8 @@ test_link (const gchar * expectation, const gchar * srcname,
|
|||
sink = gst_element_factory_make ("fakesrc", NULL);
|
||||
else if (g_strcmp0 (sinkname, "fakerequestsink") == 0)
|
||||
sink = gst_element_factory_make ("fakereqsink", NULL);
|
||||
else
|
||||
g_assert_not_reached ();
|
||||
|
||||
othersrc = gst_element_factory_make ("fakesrc", NULL);
|
||||
othersink = gst_element_factory_make ("fakesink", NULL);
|
||||
|
|
Loading…
Reference in a new issue