From 93b15049459b979e0cf7face080c179b87bd386f Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Wed, 9 Apr 2014 15:09:25 +0100 Subject: [PATCH] inter: remove dead code Coverity 1139666 --- gst/inter/gstintertest.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gst/inter/gstintertest.c b/gst/inter/gstintertest.c index 99dbbea645..00f0bc0d7b 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);