From: Adam Dickmeiss Date: Thu, 6 Jul 2006 08:28:37 +0000 (+0000) Subject: Dont use xmlDocPtr local X-Git-Tag: YAZ.2.1.26~42 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=262ce1bfa2a3bc7045217e59281b4b59938a7da8;p=yaz-moved-to-github.git Dont use xmlDocPtr local --- diff --git a/src/nfaxml.c b/src/nfaxml.c index ce7fa19..e423643 100644 --- a/src/nfaxml.c +++ b/src/nfaxml.c @@ -1,7 +1,7 @@ /* Copyright (C) 2006, Index Data ApS * See the file LICENSE for details. * - * $Id: nfaxml.c,v 1.4 2006-07-06 08:26:11 adam Exp $ + * $Id: nfaxml.c,v 1.5 2006-07-06 08:28:37 adam Exp $ */ /** @@ -27,9 +27,9 @@ /** \brief Parse the NFA from a XML document */ -yaz_nfa *yaz_nfa_parse_xml_doc(void *xmlDocPtr) +yaz_nfa *yaz_nfa_parse_xml_doc(void *p) { - xmlDocPtr doc = (xmlDocPtr) xmlDocPtr; + xmlDocPtr doc = (xmlDocPtr) p; if (!doc) return 0;