From 00fde4e4903b0fd96ec819d5db3c12464c6f64c1 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 19 Nov 2007 17:38:33 +0000 Subject: [PATCH] remove a cut-and-paste copy error Daniel * xmlregexp.c: remove a cut-and-paste copy error Daniel svn path=/trunk/; revision=3665 --- ChangeLog | 4 ++++ xmlregexp.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ec3511c6..955c6267 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Nov 19 18:39:26 CET 2007 Daniel Veillard + + * xmlregexp.c: remove a cut-and-paste copy error + Fri Nov 16 11:55:36 CET 2007 Rob Richards * globals.c threads.c include/libxml/threads.h: diff --git a/xmlregexp.c b/xmlregexp.c index 2bce3670..a3e16c57 100644 --- a/xmlregexp.c +++ b/xmlregexp.c @@ -1611,7 +1611,6 @@ xmlFAGenerateTransitions(xmlRegParserCtxtPtr ctxt, xmlRegStatePtr from, case, I suppose this got optimized out before when building the automata */ copy = xmlRegCopyAtom(ctxt, atom); - copy = xmlRegCopyAtom(ctxt, atom); if (copy == NULL) return(-1); copy->quant = XML_REGEXP_QUANT_ONCE;