summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-14 15:51:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-14 15:51:46 +0100
commitc71cf20b074e93f01a5093d6ae886eeb14facd23 (patch)
tree1e22d65f72fa9fb56db125d39c1bbf4f76ff1cb4
parentb8872e7aa198c65c47dc95c0baf8489ea5f9be5a (diff)
WaE: simple-minded windows compiler warning
-rw-r--r--autodoc/source/ary_i/kernel/d_token.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/autodoc/source/ary_i/kernel/d_token.cxx b/autodoc/source/ary_i/kernel/d_token.cxx
index d98fc84d..c2099724 100644
--- a/autodoc/source/ary_i/kernel/d_token.cxx
+++ b/autodoc/source/ary_i/kernel/d_token.cxx
@@ -60,9 +60,8 @@ DT_TextToken::DisplayAt( DocumentationDisplay & o_rDisplay ) const
bool
DT_TextToken::IsWhiteOnly() const
{
- for ( const char * it = sText.c_str();
- static_cast<UINT8>(*it) > 32;
- ++it )
+ const char *it = sText.c_str();
+ while (static_cast<UINT8>(*it++) > 32)
{
return false;
}