From: Adam Dickmeiss Date: Wed, 12 Jun 2013 13:15:03 +0000 (+0200) Subject: Fix empty declarations X-Git-Tag: v4.2.60~4 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=951bf68e90a1f19fc5103c408b136bdb4242e67b;p=yaz-moved-to-github.git Fix empty declarations Issues a warning with some compilers. --- diff --git a/src/rpn2cql.c b/src/rpn2cql.c index 79dd9dd..cac867d 100644 --- a/src/rpn2cql.c +++ b/src/rpn2cql.c @@ -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), diff --git a/src/srw.c b/src/srw.c index db28704..d4fbfc6 100644 --- 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) {