From 988e0b2da89111cbfa8cb6febcead5bb51eeb711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 13 Dec 2007 13:59:04 +0000 Subject: [PATCH] gst/gstutils.c: Fix possible compiler warning (#503417). Original commit message from CVS: * gst/gstutils.c: (element_find_unconnected_pad): Fix possible compiler warning (#503417). --- ChangeLog | 5 +++++ common | 2 +- gst/gstutils.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e0c8d57198..4e5565a1c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-13 Tim-Philipp Müller + + * gst/gstutils.c: (element_find_unconnected_pad): + Fix possible compiler warning (#503417). + 2007-12-13 Tim-Philipp Müller * gst/gstobject.c: (gst_object_dispatch_properties_changed): diff --git a/common b/common index fb7ab03319..ea5f2cfab1 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit fb7ab03319930496e922173d54f6dfccfff6f357 +Subproject commit ea5f2cfab1a164a5d285fe745343cbe0a476a904 diff --git a/gst/gstutils.c b/gst/gstutils.c index c255f2cf6a..d21adf021e 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -3090,7 +3090,7 @@ element_find_unconnected_pad (GstElement * element, GstPadDirection direction) iter = gst_element_iterate_sink_pads (element); break; default: - g_assert_not_reached (); + g_return_val_if_reached (NULL); } done = FALSE;