[Zope-Coders] Warnings from compilation of Zope 2.6 branch
Chris Withers
chrisw@nipltd.com
Mon, 24 Feb 2003 17:11:10 +0000
Hi,
While trying to debug the hanging tests problem, I also noticed there's a load
of warning-type things from compilation of Zope from the 2.6 branch:
BTrees/BucketTemplate.c:214: warning: `bucket_append' defined but not used
BTrees/BucketTemplate.c:214: warning: `bucket_append' defined but not used
BTrees/BucketTemplate.c:214: warning: `bucket_append' defined but not used
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmlparse/xmlparse.c:2341:
warning: `errorProcessor' defined but not used
In file included from
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.c:260:
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c:
In function `normal_getAtts':
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c:1394:
warning: `open' might be used uninitialized in this function
In file included from
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.c:653:
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c:
In function `little2_getAtts':
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c:1394:
warning: `open' might be used uninitialized in this function
In file included from
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.c:792:
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c:
In function `big2_getAtts':
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c:1394:
warning: `open' might be used uninitialized in this function
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.c:
In function `initScan':
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.c:1494:
warning: subscript has type `char'
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c:
In function `my_StartElementHandler':
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c:73:
warning: `attrs_k' might be used uninitialized in this function
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c:
In function `initdcpyexpat':
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c:718:
warning: unused variable `rev'
Any ideas?
cheers,
Chris