xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bor...@apache.org
Subject svn commit: r695422 - /xerces/c/trunk/src/xercesc/framework/XMLBuffer.hpp
Date Mon, 15 Sep 2008 11:04:07 GMT
Author: borisk
Date: Mon Sep 15 04:04:06 2008
New Revision: 695422

URL: http://svn.apache.org/viewvc?rev=695422&view=rev
Log:
Suppress new warnings introduced in g++ 4.3.

Modified:
    xerces/c/trunk/src/xercesc/framework/XMLBuffer.hpp

Modified: xerces/c/trunk/src/xercesc/framework/XMLBuffer.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/framework/XMLBuffer.hpp?rev=695422&r1=695421&r2=695422&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/framework/XMLBuffer.hpp (original)
+++ xerces/c/trunk/src/xercesc/framework/XMLBuffer.hpp Mon Sep 15 04:04:06 2008
@@ -136,7 +136,7 @@
         if (chars != 0 && *chars != 0) {
             // get length of chars
             XMLSize_t count = 0;
-            for (; *(chars+count); count++ );
+            for (; *(chars+count); count++ ) /*noop*/;
 
             if (fIndex + count >= fCapacity) {
                 insureCapacity(count);



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


Mime
View raw message