validate: Remove useless condition
authorThibault Saunier <tsaunier@igalia.com>
Thu, 7 May 2020 13:16:11 +0000 (09:16 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Sun, 7 Jun 2020 19:47:36 +0000 (15:47 -0400)
CID 1462652

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/192>

validate/tools/gst-validate.c

index f9b2c65..8c5cbfa 100644 (file)
@@ -567,11 +567,7 @@ main (int argc, gchar ** argv)
   g_signal_connect (bus, "message", (GCallback) bus_callback,
       &bus_callback_data);
 
-  if (argc == 2)
-    gst_validate_printf (NULL, "**-> Starting pipeline**\n");
-  else
-    gst_validate_printf (NULL, "**-> Starting pipeline**\n");
-
+  gst_validate_printf (NULL, "**-> Starting pipeline**\n");
   g_free (argvn);
   g_object_get (monitor, "handles-states", &monitor_handles_state, NULL);
   if (monitor_handles_state == FALSE) {