summaryrefslogtreecommitdiff
path: root/autodoc
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
commit12873f7767d12fcd209c26dd8576c5f1d124cdcc (patch)
tree8607354c30827075a9f587fd60238cd5c624d1bd /autodoc
parent8c2988398414a72135b71867dfb26ff3f50012ef (diff)
WaE: simple-minded windows compiler warning
Diffstat (limited to 'autodoc')
-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 6157614ef30a..f9810d0979a2 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;
}