From: Adam Dickmeiss Date: Tue, 30 Dec 2003 00:16:24 +0000 (+0000) Subject: Missing return statements X-Git-Tag: YAZ.2.0.9~9 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=e2b321b91b26903966a53146e0fec1875199482e;p=yaz-moved-to-github.git Missing return statements --- diff --git a/src/srw.c b/src/srw.c index cd7dfe1..f17833b 100644 --- a/src/srw.c +++ b/src/srw.c @@ -2,7 +2,7 @@ * Copyright (c) 2002-2003, Index Data. * See the file LICENSE for details. * - * $Id: srw.c,v 1.8 2003-12-30 00:12:50 adam Exp $ + * $Id: srw.c,v 1.9 2003-12-30 00:16:24 adam Exp $ */ #include @@ -223,6 +223,7 @@ static int yaz_srw_record(ODR o, xmlNodePtr pptr, Z_SRW_record *rec, } add_xsd_integer(ptr, "recordPosition", rec->recordPosition); } + return 0; } static int yaz_srw_records(ODR o, xmlNodePtr pptr, Z_SRW_record **recs, @@ -344,6 +345,7 @@ static int yaz_srw_term(ODR o, xmlNodePtr pptr, Z_SRW_scanTerm *term, add_xsd_integer(ptr, "value", term->numberOfRecords); add_xsd_string(ptr, "displayTerm", term->displayTerm); } + return 0; } static int yaz_srw_terms(ODR o, xmlNodePtr pptr, Z_SRW_scanTerm **terms,