From a067640083f9ef3f18feb267cc361b7602b9fa37 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 29 Feb 2012 10:47:13 +0100 Subject: [PATCH] Avoid mixed stmt/var declare --- src/retrieval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 1.7.10.4