summaryrefslogtreecommitdiffstats
path: root/qmake/option.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-12-09 17:37:45 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-01 17:22:01 (GMT)
commitec69e5ab5b74064feb88bc1f1096673227f51caa (patch)
tree48072a80ae206dfa80b73345f3410e2905353af1 /qmake/option.cpp
parentac323ef4e9d018aa9df41d8f7e81b58a3e373dbf (diff)
downloadQt-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.cpp4
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