summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-06 15:20:39 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-06 18:16:21 (GMT)
commit8fe7f1340bbb09db3d14923835c4e678134c4018 (patch)
tree656de29ec40b00c51aebef5548630cff09b84bb9
parent69bc7ba41375e3f00b2111bda8d2743654960f71 (diff)
downloadQt-8fe7f1340bbb09db3d14923835c4e678134c4018.zip
Qt-8fe7f1340bbb09db3d14923835c4e678134c4018.tar.gz
Qt-8fe7f1340bbb09db3d14923835c4e678134c4018.tar.bz2
remove dead code
-rw-r--r--tools/linguist/lupdate/main.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/linguist/lupdate/main.cpp b/tools/linguist/lupdate/main.cpp
index 9a9af68..a0ab7f9 100644
--- a/tools/linguist/lupdate/main.cpp
+++ b/tools/linguist/lupdate/main.cpp
@@ -237,18 +237,12 @@ int main(int argc, char **argv)
Verbose | // verbose is on by default starting with Qt 4.2
HeuristicSameText | HeuristicSimilarText | HeuristicNumber;
int numFiles = 0;
- bool standardSyntax = true;
bool metTsFlag = false;
bool recursiveScan = true;
QString extensions = m_defaultExtensions;
QSet<QString> extensionsNameFilters;
- for (int i = 1; i < argc; ++i) {
- if (args.at(i) == QLatin1String("-ts"))
- standardSyntax = false;
- }
-
for (int i = 1; i < argc; ++i) {
QString arg = args.at(i);
if (arg == QLatin1String("-help")
@@ -375,8 +369,6 @@ int main(int argc, char **argv)
numFiles++;
- QString fullText;
-
codecForTr.clear();
codecForSource.clear();