From 62ff4aad384c248b62f88a3e38d2e51043c5bb20 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 28 Jul 2019 01:46:48 +0200 Subject: initialize pointer on nullptr --- result/result.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'result') diff --git a/result/result.h b/result/result.h index a34c74f..76f3a8c 100644 --- a/result/result.h +++ b/result/result.h @@ -90,7 +90,7 @@ protected: QString m_id; private: - Result* m_previous; /// @brief + Result* m_previous= nullptr; /// @brief }; #endif // RESULT_H -- cgit v1.2.3-70-g09d2