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:
0c85bb6
)
tag: xmp: Fix a build warning when compiling with asserts disabled
author
Vincent Untz
<vuntz@gnome.org>
Tue, 21 Feb 2012 15:43:59 +0000
(16:43 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 21 Feb 2012 16:07:04 +0000
(16:07 +0000)
Return a value even if the code will never be reached, to make compilers
happy.
https://bugzilla.gnome.org/show_bug.cgi?id=670548
gst-libs/gst/tag/gstxmptag.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/tag/gstxmptag.c
b/gst-libs/gst/tag/gstxmptag.c
index
1fb7f39
..
5a51f62
100644
(file)
--- a/
gst-libs/gst/tag/gstxmptag.c
+++ b/
gst-libs/gst/tag/gstxmptag.c
@@
-173,8
+173,11
@@
xmp_tag_type_get_name (GstXmpTagType tagtype)
case GstXmpTagTypeBag:
return "rdf:Bag";
default:
case GstXmpTagTypeBag:
return "rdf:Bag";
default:
-
g_assert_not_reached ()
;
+
break
;
}
}
+
+ /* Make compiler happy */
+ g_return_val_if_reached ("");
}
struct _PendingXmpTag
}
struct _PendingXmpTag