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)))