diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-02-21 12:19:05 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-02-21 15:43:49 +0100 |
commit | dda25dd0cb56247abcf0d2a13b95f3c241202c12 (patch) | |
tree | 558b9b4ecc4c402bf9e2263c150861f8e99e6d93 /share | |
parent | 2b735e3a224819dcbe2fdd6145f404fa7047c045 (diff) |
remove unused variables from msvc.js
Change-Id: Idc7cf03881f2c424a0c13dbadef6a5cdba068262
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'share')
-rw-r--r-- | share/qbs/modules/cpp/msvc.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/share/qbs/modules/cpp/msvc.js b/share/qbs/modules/cpp/msvc.js index 5a730f213..25fa7f4cf 100644 --- a/share/qbs/modules/cpp/msvc.js +++ b/share/qbs/modules/cpp/msvc.js @@ -3,8 +3,6 @@ function prepareCompiler(product, input, outputs, platformDefines, defines, incl var i; var optimization = ModUtils.findFirst(input, "optimization") var debugInformation = ModUtils.findFirst(input, "debugInformation") - var architecture = ModUtils.findFirst(input, "architecture") - var args = ['/nologo', '/c'] // C or C++ @@ -96,10 +94,7 @@ function prepareLinker(product, inputs, outputs, libraryPaths, dynamicLibraries, var i; var linkDLL = (outputs.dynamiclibrary ? true : false) var primaryOutput = (linkDLL ? outputs.dynamiclibrary[0] : outputs.application[0]) - var optimization = ModUtils.findFirst(product, "optimization") var debugInformation = ModUtils.findFirst(product, "debugInformation") - var architecture = ModUtils.findFirst(product, "architecture") - var windowsSDKPath = ModUtils.findFirst(product, "windowsSDKPath") var generateManifestFiles = !linkDLL && ModUtils.findFirst(product, "generateManifestFiles") var args = ['/nologo'] @@ -157,7 +152,6 @@ function prepareLinker(product, inputs, outputs, libraryPaths, dynamicLibraries, for (i in libraryPaths) { args.push('/LIBPATH:' + FileInfo.toWindowsSeparators(libraryPaths[i])) } - var is64bit = (architecture == "x86_64") var commands = []; var cmd = new Command("link.exe", args) |