summaryrefslogtreecommitdiffstats
path: root/qmake/generators/makefile.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/generators/makefile.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/generators/makefile.cpp')
-rw-r--r--qmake/generators/makefile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 7424d1d..f1f2503 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -1824,11 +1824,12 @@ MakefileGenerator::writeExtraCompilerTargets(QTextStream &t)
cleans.append(files);
}
}
- if(!cleans.isEmpty())
+ if(!cleans.isEmpty()) {
if (isForSymbian())
t << valGlue(cleans, "\n\t" + del_statement, " 2> NUL\n\t" + del_statement, " 2> NUL");
else
t << valGlue(cleans, "\n\t" + del_statement, "\n\t" + del_statement, "");
+ }
if(!wrote_clean_cmds) {
for(QStringList::ConstIterator input = tmp_inputs.begin(); input != tmp_inputs.end(); ++input) {
t << "\n\t" << replaceExtraCompilerVariables(tmp_clean_cmds, (*input),