X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fretrieval.c;fp=src%2Fretrieval.c;h=1515664b9e02d8b4f029e0a4a0e4ea9109630784;hp=e0ed99848168fe88a52eebed5e8329422f5e5eae;hb=a067640083f9ef3f18feb267cc361b7602b9fa37;hpb=a317903bc5eccb7cfb0c15411565fe4d5f2e72a4 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")