diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-08-20 16:08:09 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-28 20:47:55 +0200 |
commit | 7033560e54be547b4055f5114f57478ad8ee98bf (patch) | |
tree | d6899e06455d8a847cc440cc88757281d6e3abb2 /qmake | |
parent | 8a879a6148c36374fbdf5a275ffa8b3f14cec502 (diff) |
remove dead variable assignments
Change-Id: I032e9116ca1b7250497f56ea26103f2173f0fc09
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'qmake')
-rw-r--r-- | qmake/generators/mac/pbuilder_pbx.cpp | 1 | ||||
-rw-r--r-- | qmake/generators/makefile.cpp | 2 | ||||
-rw-r--r-- | qmake/generators/unix/unixmake.cpp | 1 | ||||
-rw-r--r-- | qmake/generators/win32/mingw_make.cpp | 1 |
4 files changed, 0 insertions, 5 deletions
diff --git a/qmake/generators/mac/pbuilder_pbx.cpp b/qmake/generators/mac/pbuilder_pbx.cpp index 74456fb8d9..578d68077e 100644 --- a/qmake/generators/mac/pbuilder_pbx.cpp +++ b/qmake/generators/mac/pbuilder_pbx.cpp @@ -536,7 +536,6 @@ ProjectBuilderMakefileGenerator::writeMakeParts(QTextStream &t) if(!project->isEmpty("QMAKE_EXTRA_COMPILERS")) { const QStringList &quc = project->values("QMAKE_EXTRA_COMPILERS"); for(QStringList::ConstIterator it = quc.begin(); it != quc.end(); ++it) { - QString tmp_out = project->first((*it) + ".output"); if(project->isEmpty((*it) + ".output")) continue; QString name = (*it); diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index f97e66420d..8b96e7ac4c 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -1262,7 +1262,6 @@ MakefileGenerator::writeInstalls(QTextStream &t, const QString &installs, bool n } bool is_target = (wild == fileFixify(var("TARGET"), FileFixifyAbsolute)); if(is_target || exists(wild)) { //real file or target - QString file = wild; QFileInfo fi(fileInfo(wild)); QString dst_file = filePrefixRoot(root, dst_dir); if(fi.isDir() && project->isActiveConfig("copy_dir_files")) { @@ -1822,7 +1821,6 @@ MakefileGenerator::writeExtraCompilerTargets(QTextStream &t) t << " " << escapeDependencyPath(replaceExtraCompilerVariables(tmp_out, input, QString())); } else { for(QStringList::ConstIterator input = tmp_inputs.begin(); input != tmp_inputs.end(); ++input) { - QString in = Option::fixPathToTargetOS((*input), false); t << " " << escapeDependencyPath(replaceExtraCompilerVariables(tmp_out, (*input), QString())); } } diff --git a/qmake/generators/unix/unixmake.cpp b/qmake/generators/unix/unixmake.cpp index 01cfeb41b4..7938c5be79 100644 --- a/qmake/generators/unix/unixmake.cpp +++ b/qmake/generators/unix/unixmake.cpp @@ -210,7 +210,6 @@ UnixMakefileGenerator::init() pchBaseName + project->first("QMAKE_PCH_OUTPUT_EXT")); } else { // gcc style (including clang_pch_style) - QString headerPrefix = project->first("QMAKE_PRECOMP_PREFIX"); QString headerSuffix; if (project->isActiveConfig("clang_pch_style")) headerSuffix = project->first("QMAKE_PCH_OUTPUT_EXT"); diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp index 43281060ec..65e4e67fd7 100644 --- a/qmake/generators/win32/mingw_make.cpp +++ b/qmake/generators/win32/mingw_make.cpp @@ -259,7 +259,6 @@ void MingwMakefileGenerator::init() project->values("QMAKE_LIBS") += escapeFilePaths(project->values("RES_FILE")); } - QString targetfilename = project->values("TARGET").first(); QStringList &configs = project->values("CONFIG"); if(project->isActiveConfig("qt_dll")) |