From 7de8936d089f88f7976a8cc9aa172c02295e895c Mon Sep 17 00:00:00 2001 From: Catalin Iacob Date: Sun, 25 Mar 2012 17:13:11 +0200 Subject: 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] --- idlc/source/scanner.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'idlc') 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 -- cgit