xmptag: fix compiler warning in release mode

Fix compiler warning caused by g_assert_not_reached() being skipped
because releases are compiled with -DG_DISABLE_ASSERT.

https://bugzilla.gnome.org/show_bug.cgi?id=656264
This commit is contained in:
Tim-Philipp Müller 2011-08-09 16:41:01 +01:00
parent 5629ed74b3
commit 2d1ffa68a9

View file

@ -175,6 +175,7 @@ xmp_tag_type_get_name (GstXmpTagType tagtype)
default:
g_assert_not_reached ();
}
return NULL; /* make compiler happy with -DG_DISABLE_ASSERT */
}
struct _PendingXmpTag