From 82117cae034999876e3b718f43384ce37e60b06b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 12 Dec 2014 13:57:39 +0100 Subject: [PATCH] debugutils: Fix compiler warning gstdebugutils.c: In function 'gst_debug_bin_to_dot_data': gstdebugutils.c:683:530: error: 'return' with no value, in function returning non-void [-Werror] g_return_if_fail (GST_IS_BIN (bin)); --- gst/gstdebugutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstdebugutils.c b/gst/gstdebugutils.c index 4aa387dd40..291bc4419e 100644 --- a/gst/gstdebugutils.c +++ b/gst/gstdebugutils.c @@ -680,7 +680,7 @@ gst_debug_bin_to_dot_data (GstBin * bin, GstDebugGraphDetails details) { GString *str; - g_return_if_fail (GST_IS_BIN (bin)); + g_return_val_if_fail (GST_IS_BIN (bin), NULL); str = g_string_new (NULL);