Avoid warning about non-handled switch stmt case
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 13 Aug 2015 13:07:26 +0000 (15:07 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 13 Aug 2015 13:07:33 +0000 (15:07 +0200)
src/pazpar2_config.c

index 7dc6e89..a122f8d 100644 (file)
@@ -1104,8 +1104,7 @@ static void info_service_metadata(struct conf_service *service, WRBUF w)
             case Metadata_type_float:
                 wrbuf_puts(w, " type=\"float\"");
                 break;
-            case Metadata_type_relevance:
-            case Metadata_type_position:
+            default:
                 break;
             }
             switch (md->merge)