diff options
author | Catalin Iacob <iacobcatalin@gmail.com> | 2012-03-25 17:13:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-04-23 14:16:33 +0200 |
commit | 7de8936d089f88f7976a8cc9aa172c02295e895c (patch) | |
tree | 358d5561757067055c83c8ef80aa38ebae94d0c9 /idlc | |
parent | b8044cb828af149a4598b35a4d46d8fe4205ae74 (diff) |
WaE: Clang empty forloop body
Clang says:
stripped_scanner.ll:198:46: error: for loop has empty body [-Werror,-Wempty-body]
stripped_scanner.ll:198:46: note: put the semicolon on a separate line to silence this warning [-Wempty-body]
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/scanner.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/idlc/source/scanner.ll b/idlc/source/scanner.ll index 1fdbeab6f574..62ce2884f393 100644 --- a/idlc/source/scanner.ll +++ b/idlc/source/scanner.ll @@ -195,7 +195,8 @@ static double asciiToFloat(const sal_Char *s) } if (e > 0) { - for (k = 1; e > 0; k *= 10, e--) ; + for (k = 1; e > 0; k *= 10, e--) + ; if (negexp) d /= k; else |