mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
tag: xmp: Fix a build warning when compiling with asserts disabled
Return a value even if the code will never be reached, to make compilers happy. https://bugzilla.gnome.org/show_bug.cgi?id=670548
This commit is contained in:
parent
0c85bb60ea
commit
5c3f7b51ce
1 changed files with 4 additions and 1 deletions
|
@ -173,8 +173,11 @@ xmp_tag_type_get_name (GstXmpTagType tagtype)
|
||||||
case GstXmpTagTypeBag:
|
case GstXmpTagTypeBag:
|
||||||
return "rdf:Bag";
|
return "rdf:Bag";
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Make compiler happy */
|
||||||
|
g_return_val_if_reached ("");
|
||||||
}
|
}
|
||||||
|
|
||||||
struct _PendingXmpTag
|
struct _PendingXmpTag
|
||||||
|
|
Loading…
Reference in a new issue