On Mon, Nov 19, 2007 at 08:39:14AM +0100, [EMAIL PROTECTED] wrote:
> 
>    \libxml2-2.6.30\xmlregexp.c(1614) : warning C4700: uninitialized local
>    variable 'copy' used...

  Well there was clearly a duplicated line there, but as the comment
indicated that code seems to never run,

laptop:~/XML -> svn diff
Index: xmlregexp.c
===================================================================
--- xmlregexp.c (revision 3664)
+++ xmlregexp.c (working copy)
@@ -1611,7 +1611,6 @@
                        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;
laptop:~/XML ->

  thanks !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to