From b26a10a5b3febb3a5a39178bc3c1830e1d5b01a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 16 Apr 2018 19:14:27 +0200 Subject: [PATCH] Added missing initialization --- src/map/transform.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/map/transform.cpp b/src/map/transform.cpp index 5c08d01e..2d8b264b 100644 --- a/src/map/transform.cpp +++ b/src/map/transform.cpp @@ -71,6 +71,7 @@ Transform::Transform() } Transform::Transform(const QList &points) + : _proj2img(NULL_QTRANSFORM), _img2proj(NULL_QTRANSFORM) { if (points.count() < 2) _errorString = "Insufficient number of reference points"; @@ -81,6 +82,7 @@ Transform::Transform(const QList &points) } Transform::Transform(const ReferencePoint &p1, const ReferencePoint &p2) + : _proj2img(NULL_QTRANSFORM), _img2proj(NULL_QTRANSFORM) { simple(p1, p2); }