summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-12-12 13:57:39 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-12-12 13:57:39 +0100
commit82117cae034999876e3b718f43384ce37e60b06b (patch)
tree2dc69f399ad6c21adc2bd4a920a9f44eb96b2833 /gst
parent8fadde9d2356744358e49236689082f80ef3618f (diff)
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));
Diffstat (limited to 'gst')
-rw-r--r--gst/gstdebugutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstdebugutils.c b/gst/gstdebugutils.c
index 4aa387dd4..291bc4419 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);