Commit 0c338b20 authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Remove write-only, unitialized variable

parent 34b666e1
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment