From f7955f5249e94a94a31d1a40913880121247f2e4 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 4 Sep 2014 11:54:41 +0200 Subject: [PATCH] validate: remove redundant pre-condition in monitor_factory_create The same check is already done at the head of the function. https://bugzilla.gnome.org/show_bug.cgi?id=736019 --- validate/gst/validate/gst-validate-monitor-factory.c | 1 - 1 file changed, 1 deletion(-) diff --git a/validate/gst/validate/gst-validate-monitor-factory.c b/validate/gst/validate/gst-validate-monitor-factory.c index 5c2334d6aa..fe2b4679b5 100644 --- a/validate/gst/validate/gst-validate-monitor-factory.c +++ b/validate/gst/validate/gst-validate-monitor-factory.c @@ -70,7 +70,6 @@ gst_validate_monitor_factory_create (GstObject * target, (GST_ELEMENT_CAST (target), runner, parent)); } - g_return_val_if_fail (target != NULL, NULL); gst_validate_override_registry_attach_overrides (monitor); return monitor; }