]> git.saurik.com Git - wxWidgets.git/commitdiff
silence warning with GCC -Wextra
authorPaul Cornett <paulcor@bullseye.com>
Sun, 31 Aug 2008 23:48:33 +0000 (23:48 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sun, 31 Aug 2008 23:48:33 +0000 (23:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/string.h

index 10a7d9085b9f5ee3b9c41dfb35170a3a381492d5..b369223e71f0aa7bd96bc62eabe32e3b227cd4b6 100644 (file)
@@ -721,7 +721,9 @@ private:
       // used for length caching only so far, i.e. it doesn't count as a hit
       // from our point of view
       if ( cache->pos )
       // used for length caching only so far, i.e. it doesn't count as a hit
       // from our point of view
       if ( cache->pos )
+      {
           wxCACHE_PROFILE_FIELD_INC(poshits);
           wxCACHE_PROFILE_FIELD_INC(poshits);
+      }
 
       if ( pos == cache->pos )
           return cache->impl;
 
       if ( pos == cache->pos )
           return cache->impl;