From e2b321b91b26903966a53146e0fec1875199482e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 30 Dec 2003 00:16:24 +0000 Subject: [PATCH] Missing return statements --- src/srw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, -- 1.7.10.4