summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-11-14 06:26:33 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-11-14 06:27:15 (GMT)
commit0c338b2036f9174e400ba3ba5c09250251c0269a (patch)
tree59402c803d86734f565eba2deba50f62a0e5933d
parent34b666e1b756a4b55a71c649207fd1705fe23192 (diff)
Remove write-only, unitialized variable
-rw-r--r--tools/vectorosm-tilecreator/SpellChecker.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/vectorosm-tilecreator/SpellChecker.cpp b/tools/vectorosm-tilecreator/SpellChecker.cpp
index 6cf58ef..6e7bdd8 100644
--- a/tools/vectorosm-tilecreator/SpellChecker.cpp
+++ b/tools/vectorosm-tilecreator/SpellChecker.cpp
@@ -115,7 +115,6 @@ QHash<TileId, QVector<GeoDataPlacemark *> > SpellChecker::parseCities(const QStr
return placeLabels;
}
- int count;
while (!file.atEnd()) {
QByteArray line = file.readLine();
auto const values = line.split('\t');
@@ -140,7 +139,6 @@ QHash<TileId, QVector<GeoDataPlacemark *> > SpellChecker::parseCities(const QStr
auto const tile = TileId::fromCoordinates(coordinate, m_tileLevel);
placeLabels[tile] << city;
- ++count;
}
}
return placeLabels;