1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51: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;
} else {
ba = new QByteArray(file.readAll());
qreal ele = height(c, ba);
_data.insert(k, ba);
return height(c, ba);
return ele;
}
} else
return height(c, ba);