1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-18 11:52:08 +01:00

Make coverity happy

This commit is contained in:
Martin Tůma 2017-04-02 09:32:40 +02:00
parent 957cc6f4f3
commit c4b3a81b0b
2 changed files with 2 additions and 1 deletions

View File

@ -107,6 +107,7 @@ void Atlas::computeBounds()
Atlas::Atlas(const QString &path, QObject *parent) : Map(parent) Atlas::Atlas(const QString &path, QObject *parent) : Map(parent)
{ {
_valid = false; _valid = false;
_zoom = 0;
QFileInfo fi(path); QFileInfo fi(path);
_name = fi.fileName(); _name = fi.fileName();
@ -139,7 +140,6 @@ Atlas::Atlas(const QString &path, QObject *parent) : Map(parent)
computeZooms(); computeZooms();
computeBounds(); computeBounds();
_zoom = 0;
_valid = true; _valid = true;
} }

View File

@ -328,6 +328,7 @@ OfflineMap::OfflineMap(const QString &path, QObject *parent) : Map(parent)
_valid = false; _valid = false;
_img = 0; _img = 0;
_projection = 0; _projection = 0;
_resolution = 0;
QFileInfo fi(path); QFileInfo fi(path);
_name = fi.fileName(); _name = fi.fileName();