From 262ce1bfa2a3bc7045217e59281b4b59938a7da8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 6 Jul 2006 08:28:37 +0000 Subject: [PATCH] Dont use xmlDocPtr local --- src/nfaxml.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 1.7.10.4