mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Fixed broken error handling
This commit is contained in:
parent
58e1980b0d
commit
652ed8e919
@ -266,7 +266,7 @@ bool GeoTIFF::readGeoValue(TIFFFile &file, quint32 offset, quint16 index,
|
|||||||
|
|
||||||
const GCS *GeoTIFF::gcs(QMap<quint16, Value> &kv)
|
const GCS *GeoTIFF::gcs(QMap<quint16, Value> &kv)
|
||||||
{
|
{
|
||||||
const GCS *gcs;
|
const GCS *gcs = 0;
|
||||||
|
|
||||||
if (IS_SET(kv, GeographicTypeGeoKey)) {
|
if (IS_SET(kv, GeographicTypeGeoKey)) {
|
||||||
if (!(gcs = GCS::gcs(kv.value(GeographicTypeGeoKey).SHORT)))
|
if (!(gcs = GCS::gcs(kv.value(GeographicTypeGeoKey).SHORT)))
|
||||||
|
Loading…
Reference in New Issue
Block a user