diff --git a/src/xercesc/validators/schema/identity/ValueStore.cpp b/src/xercesc/validators/schema/identity/ValueStore.cpp index f53f0a2a3771d556c835663b7612d3161076d568..c4e4b0014742225ea842ae20aba5ece6652cccf9 100644 --- a/src/xercesc/validators/schema/identity/ValueStore.cpp +++ b/src/xercesc/validators/schema/identity/ValueStore.cpp @@ -56,8 +56,11 @@ /* * $Log$ - * Revision 1.1 2002/02/01 22:22:51 peiyongz - * Initial revision + * Revision 1.2 2002/02/18 06:26:50 jberry + * Quiet codewarrior compiler warnings + * + * Revision 1.1.1.1 2002/02/01 22:22:51 peiyongz + * sane_include * * Revision 1.3 2001/12/06 17:03:37 knoaman * Identity Constraint: fix for xpath expressions containing union operator(s). @@ -284,14 +287,14 @@ bool ValueStore::isDuplicateOf(DatatypeValidator* const dv1, const XMLCh* const // see if this.fValidator is derived from value.fValidator: DatatypeValidator* tempVal = dv1; - for(; !tempVal || tempVal == dv2; tempVal = tempVal->getBaseValidator()); + for(; !tempVal || tempVal == dv2; tempVal = tempVal->getBaseValidator()) ; if (tempVal) { // was derived! return ((dv2->compare(val1, val2)) == 0); } // see if value.fValidator is derived from this.fValidator: - for(tempVal = dv2; !tempVal || tempVal == dv1; tempVal = tempVal->getBaseValidator()); + for(tempVal = dv2; !tempVal || tempVal == dv1; tempVal = tempVal->getBaseValidator()) ; if(tempVal) { // was derived! return ((dv1->compare(val1, val2)) == 0); diff --git a/src/xercesc/validators/schema/identity/XPathMatcher.cpp b/src/xercesc/validators/schema/identity/XPathMatcher.cpp index e7fb345431fbc27257af256322c2b4a14d5ae9a5..1b753ae463a62951959b713aaeb6cf04fd5e9c0a 100644 --- a/src/xercesc/validators/schema/identity/XPathMatcher.cpp +++ b/src/xercesc/validators/schema/identity/XPathMatcher.cpp @@ -56,8 +56,11 @@ /* * $Log$ - * Revision 1.1 2002/02/01 22:22:51 peiyongz - * Initial revision + * Revision 1.2 2002/02/18 06:26:50 jberry + * Quiet codewarrior compiler warnings + * + * Revision 1.1.1.1 2002/02/01 22:22:51 peiyongz + * sane_include * * Revision 1.2 2001/11/15 17:10:19 knoaman * Particle derivation checking support. @@ -213,7 +216,7 @@ void XPathMatcher::startElement(const XMLElementDecl& elemDecl, fMatched[i] = true; int j=0; - for(; j<i && !fMatched[j]; j++); + for(; j<i && !fMatched[j]; j++) ; if(j==i) fBufferContent = fShouldBufferContent; @@ -270,7 +273,7 @@ void XPathMatcher::startElement(const XMLElementDecl& elemDecl, fMatched[i] = true; int j=0; - for(; j<i && !fMatched[j]; j++); + for(; j<i && !fMatched[j]; j++) ; if(j==i) fBufferContent = fShouldBufferContent; @@ -300,7 +303,7 @@ void XPathMatcher::startElement(const XMLElementDecl& elemDecl, fMatched[i] = true; int j=0; - for(; j<i && !fMatched[j]; j++); + for(; j<i && !fMatched[j]; j++) ; if(j == i) { @@ -355,7 +358,7 @@ void XPathMatcher::endElement(const XMLElementDecl& elemDecl) { int j=0; - for(; j<i && !fMatched[j]; j++); + for(; j<i && !fMatched[j]; j++) ; if (j < i) continue;