1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-25 18:49:16 +02:00

Make Coverity happy

This commit is contained in:
2018-07-10 08:58:37 +02:00
parent dd9e42ad27
commit 5547cf668e
3 changed files with 5 additions and 3 deletions

View File

@ -102,7 +102,8 @@ bool WMSMap::loadWMS()
}
WMSMap::WMSMap(const QString &name, const WMS::Setup &setup, QObject *parent)
: Map(parent), _name(name), _setup(setup), _zoom(0), _valid(false)
: Map(parent), _name(name), _setup(setup), _tileLoader(0), _zoom(0),
_valid(false)
{
if (!QDir().mkpath(tilesDir())) {
_errorString = "Error creating tiles dir";

View File

@ -36,7 +36,8 @@ bool WMTSMap::loadWMTS()
}
WMTSMap::WMTSMap(const QString &name, const WMTS::Setup &setup, QObject *parent)
: Map(parent), _name(name), _setup(setup), _zoom(0), _valid(false)
: Map(parent), _name(name), _setup(setup), _tileLoader(0), _zoom(0),
_valid(false)
{
if (!QDir().mkpath(tilesDir())) {
_errorString = "Error creating tiles dir";