X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fretrieval.c;h=1515664b9e02d8b4f029e0a4a0e4ea9109630784;hb=6bad90d4b022ea2276a83ecaccef42de13708d2d;hp=e0ed99848168fe88a52eebed5e8329422f5e5eae;hpb=6451a706e744f7b2d6142f60ab2ee025ecf48326;p=yaz-moved-to-github.git diff --git a/src/retrieval.c b/src/retrieval.c index e0ed998..1515664 100644 --- a/src/retrieval.c +++ b/src/retrieval.c @@ -179,6 +179,7 @@ static int conf_retrieval(yaz_retrieval_t p, const xmlNode *ptr) } else { + struct _xmlAttr *attr; if (el->record_conv) { wrbuf_printf(p->wr_error, "Element : " @@ -187,7 +188,6 @@ static int conf_retrieval(yaz_retrieval_t p, const xmlNode *ptr) return -1; } /* parsing attributees */ - struct _xmlAttr *attr; for (attr = ptr->properties; attr; attr = attr->next) { if (!xmlStrcmp(attr->name, BAD_CAST "name")