1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-12-01 07:01:16 +01:00

Silence a clang static analysis warning (should newer happen)

This commit is contained in:
Martin Tůma 2019-03-05 20:43:05 +01:00
parent 90dcda217e
commit ce57350a55

View File

@ -87,8 +87,9 @@ qreal DEM::elevation(const Coordinates &c)
return NAN; return NAN;
} else { } else {
ba = new QByteArray(file.readAll()); ba = new QByteArray(file.readAll());
qreal ele = height(c, ba);
_data.insert(k, ba); _data.insert(k, ba);
return height(c, ba); return ele;
} }
} else } else
return height(c, ba); return height(c, ba);