summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-01-25 17:11:20 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-13 12:42:40 +0100
commite3554d72745d9c439b1792c20be09871506afeef (patch)
tree10df56db36c8d8ecb0758e8f84f2184cd4015921 /mkspecs
parent707f0a20b40ff68acb9b7ac6ec329860839ce429 (diff)
remove useless unset()s
there is mightily little point in unsetting variables right before unconditionally assigning to them. Change-Id: I24c1814ce38bf9aab4496679b1a670f3cd55c536 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/exclusive_builds.prf8
-rw-r--r--mkspecs/features/qt_functions.prf1
2 files changed, 0 insertions, 9 deletions
diff --git a/mkspecs/features/exclusive_builds.prf b/mkspecs/features/exclusive_builds.prf
index 8898c96a43..0e0da05c70 100644
--- a/mkspecs/features/exclusive_builds.prf
+++ b/mkspecs/features/exclusive_builds.prf
@@ -1,9 +1,6 @@
# fixExclusiveOutputDirs(1config, 2config)
# Change all output paths that references 2config to have the string 1config in them
defineTest(fixExclusiveOutputDirs) {
- unset(firstBuild)
- unset(secondBuild)
- unset(appendFirstBuild)
firstBuild = $$1
secondBuild = $$2
count(ARGS, 2, greaterThan):isEqual($$list($$lower($$3)), false):appendFirstBuild = false
@@ -29,11 +26,6 @@ defineTest(fixExclusiveOutputDirs) {
# addExclusiveBuilds(1config, 1name, 2config, 2name)
# Adds two BUILDS which are exclusive to each other.
defineTest(addExclusiveBuilds) {
- unset(firstBuild)
- unset(firstBuildName)
- unset(secondBuild)
- unset(secondBuildName)
-
firstBuild = $$1
firstBuildName = $$2
secondBuild = $$3
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index aaf7a4710e..b6e3454f0e 100644
--- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf
@@ -9,7 +9,6 @@ defineReplace(qtPlatformTargetSuffix) {
}
defineReplace(qtLibraryTarget) {
- unset(LIBRARY_NAME)
LIBRARY_NAME = $$1
mac:!static:contains(QT_CONFIG, qt_framework) {
QMAKE_FRAMEWORK_BUNDLE_NAME = $$LIBRARY_NAME