knoaman 2003/02/04 13:37:46 Modified: c/src/xercesc/util XMLString.cpp Log: Performance: no need for second condition. Revision Changes Path 1.20 +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.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- XMLString.cpp 24 Jan 2003 23:16:33 -0000 1.19 +++ XMLString.cpp 4 Feb 2003 21:37:45 -0000 1.20 @@ -947,7 +947,7 @@ return int(*psz1) - int(*psz2); // If either has ended, then they both ended, so equal - if (!*psz1 || !*psz2) + if (!*psz1) break; // Move upwards for the next round
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]