summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-04-09 15:09:25 +0100
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-04-09 15:09:25 +0100
commit93b15049459b979e0cf7face080c179b87bd386f (patch)
tree92aa48415bbac60908d7ed0993bcbe9207929a61 /gst
parentc5cb2fbe961777e4ba661a300a5bbe70e72cffb8 (diff)
downloadgstreamer-plugins-bad-93b15049459b979e0cf7face080c179b87bd386f.tar.gz
inter: remove dead code
Coverity 1139666
Diffstat (limited to 'gst')
-rw-r--r--gst/inter/gstintertest.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gst/inter/gstintertest.c b/gst/inter/gstintertest.c
index 99dbbea64..00f0bc0d7 100644
--- a/gst/inter/gstintertest.c
+++ b/gst/inter/gstintertest.c
@@ -148,7 +148,6 @@ gst_inter_test_create_pipeline_playbin (GstInterTest * intertest,
const char *uri)
{
GstElement *pipeline;
- GError *error = NULL;
if (uri == NULL) {
gst_inter_test_create_pipeline_vts (intertest);
@@ -159,12 +158,6 @@ gst_inter_test_create_pipeline_playbin (GstInterTest * intertest,
gst_bin_add (GST_BIN (pipeline),
gst_element_factory_make ("playbin", "source"));
- if (error) {
- g_print ("pipeline parsing error: %s\n", error->message);
- gst_object_unref (pipeline);
- return;
- }
-
intertest->pipeline = pipeline;
gst_pipeline_set_auto_flush_bus (GST_PIPELINE (pipeline), FALSE);