summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2017-06-08 11:20:22 +0300
committerOrgad Shaneh <orgads@gmail.com>2017-06-12 10:47:08 +0000
commit7f5635cbb1ec7ba6e1c536b898eb737cdd76796e (patch)
treefbb79f1fbce8de74f480c0e231d18ccab7dc213e /qmake
parent2e8aecc37943343eae71d7336613923bd5425aab (diff)
qmake: Avoid raw string comparison
Detected by clang. Change-Id: I4c734d1af77a331d178ce91610ab08a8048fe410 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/makefile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index d3221b7a25..a1f3352aa3 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -176,7 +176,7 @@ MakefileGenerator::initOutPaths()
#ifdef Q_OS_WIN
// We don't want to add a separator for DLLDESTDIR on Windows (###why?)
- if(!(dirs[x] == "DLLDESTDIR"))
+ if (dkey != "DLLDESTDIR")
#endif
{
if(!pathRef.endsWith(Option::dir_sep))