You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jb...@apache.org on 2002/02/18 07:26:50 UTC

cvs commit: xml-xerces/c/src/xercesc/validators/schema/identity ValueStore.cpp XPathMatcher.cpp

jberry      02/02/17 22:26:50

  Modified:    c/src/xercesc/validators/schema/identity ValueStore.cpp
                        XPathMatcher.cpp
  Log:
  Quiet codewarrior compiler warnings
  
  Revision  Changes    Path
  1.2       +5 -2      xml-xerces/c/src/xercesc/validators/schema/identity/ValueStore.cpp
  
  Index: ValueStore.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/schema/identity/ValueStore.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ValueStore.cpp	1 Feb 2002 22:22:51 -0000	1.1
  +++ ValueStore.cpp	18 Feb 2002 06:26:50 -0000	1.2
  @@ -56,8 +56,11 @@
   
   /*
    * $Log: ValueStore.cpp,v $
  - * 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 @@
   
       // 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);
  
  
  
  1.2       +7 -4      xml-xerces/c/src/xercesc/validators/schema/identity/XPathMatcher.cpp
  
  Index: XPathMatcher.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/schema/identity/XPathMatcher.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XPathMatcher.cpp	1 Feb 2002 22:22:51 -0000	1.1
  +++ XPathMatcher.cpp	18 Feb 2002 06:26:50 -0000	1.2
  @@ -56,8 +56,11 @@
   
   /*
    * $Log: XPathMatcher.cpp,v $
  - * 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 @@
               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 @@
               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 @@
                               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 @@
   
               int j=0;
   
  -            for(; j<i && !fMatched[j]; j++);
  +            for(; j<i && !fMatched[j]; j++) ;
   
               if (j < i) 
   				continue;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org