mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 19:55:53 +01:00
Make Coverity happy
This commit is contained in:
parent
ab65deadb6
commit
a6e522d758
@ -411,7 +411,7 @@ OfflineMap::OfflineMap(const QString &fileName, QObject *parent)
|
|||||||
_valid = false;
|
_valid = false;
|
||||||
_img = 0;
|
_img = 0;
|
||||||
_projection = 0;
|
_projection = 0;
|
||||||
_resolution = 0;
|
_resolution = 0.0;
|
||||||
|
|
||||||
if (suffix == "tar") {
|
if (suffix == "tar") {
|
||||||
if (!_tar.load(fileName)) {
|
if (!_tar.load(fileName)) {
|
||||||
@ -477,6 +477,7 @@ OfflineMap::OfflineMap(const QString &fileName, Tar &tar, QObject *parent)
|
|||||||
_valid = false;
|
_valid = false;
|
||||||
_img = 0;
|
_img = 0;
|
||||||
_projection = 0;
|
_projection = 0;
|
||||||
|
_resolution = 0.0;
|
||||||
|
|
||||||
QFileInfo map(fi.absolutePath());
|
QFileInfo map(fi.absolutePath());
|
||||||
QFileInfo layer(map.absolutePath());
|
QFileInfo layer(map.absolutePath());
|
||||||
|
Loading…
Reference in New Issue
Block a user