summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-02-14 16:06:44 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-03-01 10:35:46 +0000
commit20063cf99995f45c16e5c6952eb1d7609324be9f (patch)
tree4d001241b60d93f73db9c188e2113ec63638117d /mkspecs
parent11c728713ff56c6c8e5fce60bde9147ddaafc802 (diff)
Actively discard return value of qtConfGetNextCommandlineArg
Calling a qmake replace function without assignment is undefined behavior. This amends 11ae0e77. Change-Id: Ie716f295275d1ba79a217745b332a8eca04b355d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qt_configure.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf
index 7ca65c92b3..e845bf1577 100644
--- a/mkspecs/features/qt_configure.prf
+++ b/mkspecs/features/qt_configure.prf
@@ -338,7 +338,7 @@ defineTest(qtConfParseCommandLine) {
qtConfAddWarning("Command line option -skip is only effective in top-level builds.")
skipOptionWarningAdded = 1
}
- $$qtConfGetNextCommandlineArg()
+ val = $$qtConfGetNextCommandlineArg()
next()
}