Fix empty declarations
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 12 Jun 2013 13:15:03 +0000 (15:15 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 12 Jun 2013 13:15:03 +0000 (15:15 +0200)
Issues a warning with some compilers.

src/rpn2cql.c
src/srw.c

index 79dd9dd..cac867d 100644 (file)
@@ -173,7 +173,7 @@ static Odr_int lookup_truncation(Z_AttributeList *attributes)
     }
     /* No truncation specified */
     return 0;
-};
+}
 
 static int rpn2cql_simple(cql_transform_t ct,
                           void (*pr)(const char *buf, void *client_data),
index db28704..d4fbfc6 100644 (file)
--- a/src/srw.c
+++ b/src/srw.c
@@ -469,7 +469,7 @@ Z_FacetTerm *yaz_sru_proxy_get_facet_term_count(ODR odr, xmlNodePtr node)
     facet_term = facet_term_create_cstr(odr, wrbuf_cstr(wrbuf), freq);
     wrbuf_destroy(wrbuf);
     return facet_term;
-};
+}
 
 static Z_FacetField *yaz_sru_proxy_decode_facet_field(ODR odr, xmlNodePtr ptr)
 {