1
0
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:
Martin Tůma 2018-01-21 11:38:01 +01:00
parent 58e1980b0d
commit 652ed8e919

View File

@ -266,7 +266,7 @@ bool GeoTIFF::readGeoValue(TIFFFile &file, quint32 offset, quint16 index,
const GCS *GeoTIFF::gcs(QMap<quint16, Value> &kv)
{
const GCS *gcs;
const GCS *gcs = 0;
if (IS_SET(kv, GeographicTypeGeoKey)) {
if (!(gcs = GCS::gcs(kv.value(GeographicTypeGeoKey).SHORT)))