projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fadde9
)
debugutils: Fix compiler warning
author
Sebastian Dröge
<sebastian@centricular.com>
Fri, 12 Dec 2014 12:57:39 +0000
(13:57 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Fri, 12 Dec 2014 12:57:39 +0000
(13:57 +0100)
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
patch
|
blob
|
history
diff --git
a/gst/gstdebugutils.c
b/gst/gstdebugutils.c
index
4aa387d
..
291bc44
100644
(file)
--- 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);