[Zope-dev] Some gcc warnings building zope 2.6.1

Luca - De Whiskey's - De Vitis luca@debian.org
Sun, 9 Feb 2003 10:41:10 +0100


Hi,
I got these warnings building zope (you might be interested in fixing some/all
of them):

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
lib/python/Shared/DC/xml/pyexpat/expat/xmlparse/xmlparse.c:2341: warning: `errorProcessor' defined but not used
In file included from lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.c:260:
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c: In function `normal_getAtts':
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 lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.c:653:
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c: In function `little2_getAtts':
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 lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.c:792:
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c: In function `big2_getAtts':
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c:1394: warning: `open' might be used uninitialized in this function
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.c: In function `initScan':
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.c:1494: warning: subscript has type `char'
lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c: In function `my_StartElementHandler':
lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c:73: warning: `attrs_k' might be used uninitialized in this function
lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c: In function `initdcpyexpat':
lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c:718: warning: unused variable `rev'

ciao,
-- 
Luca - De Whiskey's - De Vitis              | Elegant or ugly code as well
aliases: Luca ^De [A-Z][-A-Za-z]*[iy]'?s$   | as fine or rude sentences have
Infinite loop: see `Loop, infinite'.        | something in common: they
Loop, infinite: see `Infinite loop'.        | don't depend on the language.