From b192b4f676db63dae89b6e75bada598ec8b8a6e1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 15 Dec 2018 16:47:54 +0100 Subject: [PATCH] Remove redundant m_colour initialization in wxGCDCImpl This field is already initialized by the base class ctor, there is no need to do it here again. --- src/common/dcgraph.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/dcgraph.cpp b/src/common/dcgraph.cpp index 796c3462ff..a744e94adb 100644 --- a/src/common/dcgraph.cpp +++ b/src/common/dcgraph.cpp @@ -188,7 +188,6 @@ wxGCDCImpl::wxGCDCImpl(wxDC* owner, int) void wxGCDCImpl::Init(wxGraphicsContext* ctx) { m_ok = false; - m_colour = true; m_mm_to_pix_x = mm2pt; m_mm_to_pix_y = mm2pt;