You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by bo...@apache.org on 2008/09/15 13:04:07 UTC

svn commit: r695422 - /xerces/c/trunk/src/xercesc/framework/XMLBuffer.hpp

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