X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmarc_read_xml.c;h=31a718b5fe89c916046709e932df2223273dd2bf;hp=8f4ffd66c82e549764f6ebfbcd3d7f4f29acd83b;hb=1b9e01d65c2e5a8b805c132bc1a043dc4d2c3ec5;hpb=b93c50cd7770a18bddd602a612ccd83795cd4922 diff --git a/src/marc_read_xml.c b/src/marc_read_xml.c index 8f4ffd6..31a718b 100644 --- a/src/marc_read_xml.c +++ b/src/marc_read_xml.c @@ -118,7 +118,6 @@ static int yaz_marc_read_xml_leader(yaz_marc_t mt, const xmlNode **ptr_p) { yaz_marc_cprintf( mt, "Expected element 'leader', got '%.80s'", ptr->name); - return -1; } } if (!leader) @@ -194,7 +193,6 @@ static int yaz_marc_read_xml_fields(yaz_marc_t mt, const xmlNode *ptr) yaz_marc_cprintf( mt, "Bad attribute '%.80s' for 'datafield'", attr->name); - return -1; } if (!ptr_tag) {