From 951bf68e90a1f19fc5103c408b136bdb4242e67b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 12 Jun 2013 15:15:03 +0200 Subject: [PATCH] Fix empty declarations Issues a warning with some compilers. --- src/rpn2cql.c | 2 +- src/srw.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) { -- 1.7.10.4