From 652ed8e91913e776afa45004627b2eb0d44330c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 21 Jan 2018 11:38:01 +0100 Subject: [PATCH] Fixed broken error handling --- src/map/geotiff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/geotiff.cpp b/src/map/geotiff.cpp index 777747d1..d185076b 100644 --- a/src/map/geotiff.cpp +++ b/src/map/geotiff.cpp @@ -266,7 +266,7 @@ bool GeoTIFF::readGeoValue(TIFFFile &file, quint32 offset, quint16 index, const GCS *GeoTIFF::gcs(QMap &kv) { - const GCS *gcs; + const GCS *gcs = 0; if (IS_SET(kv, GeographicTypeGeoKey)) { if (!(gcs = GCS::gcs(kv.value(GeographicTypeGeoKey).SHORT)))