You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2003/01/06 20:50:06 UTC

cvs commit: xml-xerces/c/src/xercesc/util XMLString.cpp

knoaman     2003/01/06 11:50:06

  Modified:    c/src/xercesc/util XMLString.cpp
  Log:
  Performance: eliminate unnecessary condition in compareNString.
  
  Revision  Changes    Path
  1.18      +2 -2      xml-xerces/c/src/xercesc/util/XMLString.cpp
  
  Index: XMLString.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/XMLString.cpp,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- XMLString.cpp	20 Dec 2002 22:10:21 -0000	1.17
  +++ XMLString.cpp	6 Jan 2003 19:50:05 -0000	1.18
  @@ -896,7 +896,7 @@
               return int(*psz1) - int(*psz2);
   
           // If either ended, then both ended, so equal
  -        if (!*psz1 || !*psz2)
  +        if (!*psz1)
               break;
   
           // Move upwards to next chars
  
  
  

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