Commit 5c3f7b51 authored by Vincent Untz's avatar Vincent Untz Committed by Tim-Philipp Müller

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
parent 0c85bb60
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment