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
@ -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…
x
Reference in New Issue
Block a user