[Zope-Checkins] CVS: Packages/Shared/DC/xml/pyexpat/expat/xmltok -
xmltok.h:1.3.190.1 xmltok_impl.c:1.2.388.1
Andreas Jung
andreas at andreas-jung.com
Sat Jan 15 06:13:49 EST 2005
Update of /cvs-repository/Packages/Shared/DC/xml/pyexpat/expat/xmltok
In directory cvs.zope.org:/tmp/cvs-serv13331/lib/python/Shared/DC/xml/pyexpat/expat/xmltok
Modified Files:
Tag: Zope-2_7-branch
xmltok.h xmltok_impl.c
Log Message:
- Collector: #1651: removed compiler warning
=== Packages/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.h 1.3 => 1.3.190.1 ===
--- Packages/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.h:1.3 Thu Jul 5 12:17:59 2001
+++ Packages/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.h Sat Jan 15 06:13:49 2005
@@ -175,7 +175,7 @@
const unsigned short *toLim);
int minBytesPerChar;
char isUtf8;
- char isUtf16;
+ int isUtf16;
};
/*
=== Packages/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c 1.2 => 1.2.388.1 ===
--- Packages/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c:1.2 Wed Jul 21 09:25:07 1999
+++ Packages/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c Sat Jan 15 06:13:49 2005
@@ -593,7 +593,7 @@
/* fall through */
case BT_EQUALS:
{
- int open;
+ int open = 0;
#ifdef XML_NS
hadColon = 0;
#endif
@@ -1391,7 +1391,7 @@
{
enum { other, inName, inValue } state = inName;
int nAtts = 0;
- int open;
+ int open = 0;
for (ptr += MINBPC(enc);; ptr += MINBPC(enc)) {
switch (BYTE_TYPE(enc, ptr)) {
More information about the Zope-Checkins
mailing list