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:
Vincent Untz 2012-02-21 16:43:59 +01:00 committed by Tim-Philipp Müller
parent 0c85bb60ea
commit 5c3f7b51ce

View file

@ -173,8 +173,11 @@ xmp_tag_type_get_name (GstXmpTagType tagtype)
case GstXmpTagTypeBag:
return "rdf:Bag";
default:
g_assert_not_reached ();
break;
}
/* Make compiler happy */
g_return_val_if_reached ("");
}
struct _PendingXmpTag