xmptag: have the default branch as the last one
authorStefan Kost <ensonic@users.sf.net>
Mon, 23 May 2011 11:01:29 +0000 (14:01 +0300)
committerStefan Kost <ensonic@users.sf.net>
Mon, 23 May 2011 11:01:29 +0000 (14:01 +0300)
gst-libs/gst/tag/gstxmptag.c

index 3a331f6..d91ab33 100644 (file)
@@ -162,10 +162,10 @@ xmp_tag_get_type_name (XmpTag * xmptag)
   switch (xmptag->type) {
     case GstXmpTagTypeSeq:
       return "rdf:Seq";
   switch (xmptag->type) {
     case GstXmpTagTypeSeq:
       return "rdf:Seq";
-    default:
-      g_assert_not_reached ();
     case GstXmpTagTypeBag:
       return "rdf:Bag";
     case GstXmpTagTypeBag:
       return "rdf:Bag";
+    default:
+      g_assert_not_reached ();
   }
 }
 
   }
 }