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:
parent
90dcda217e
commit
ce57350a55
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user