diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-12-09 17:37:45 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-02-01 17:22:01 (GMT) |
commit | ec69e5ab5b74064feb88bc1f1096673227f51caa (patch) | |
tree | 48072a80ae206dfa80b73345f3410e2905353af1 /qmake/option.cpp | |
parent | ac323ef4e9d018aa9df41d8f7e81b58a3e373dbf (diff) | |
download | Qt-ec69e5ab5b74064feb88bc1f1096673227f51caa.zip Qt-ec69e5ab5b74064feb88bc1f1096673227f51caa.tar.gz Qt-ec69e5ab5b74064feb88bc1f1096673227f51caa.tar.bz2 |
qmake: fix warnings
missing braces, parens and spaces denoting empty loop bodies
Reviewed-by: mariusSO
Diffstat (limited to 'qmake/option.cpp')
-rw-r--r-- | qmake/option.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/option.cpp b/qmake/option.cpp index 9577a28..5522a80 100644 --- a/qmake/option.cpp +++ b/qmake/option.cpp @@ -630,8 +630,8 @@ Option::fixString(QString string, uchar flags) string = string.replace('/', Option::dir_sep).replace('\\', Option::dir_sep); } - if (string.startsWith("\"") && string.endsWith("\"") || - string.startsWith("\'") && string.endsWith("\'")) + if ((string.startsWith("\"") && string.endsWith("\"")) || + (string.startsWith("\'") && string.endsWith("\'"))) string = string.mid(1, string.length()-2); //cache |