From 310b06402ecc87d9d0bb1043850fe2161b6f738f Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Wed, 10 Apr 2019 23:44:26 +0200 Subject: [PATCH] Remove unused variable in wxSVGFileDC --- include/wx/dcsvg.h | 1 - src/common/dcsvg.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index df6d925966..26631b4f90 100644 --- a/include/wx/dcsvg.h +++ b/include/wx/dcsvg.h @@ -248,7 +248,6 @@ private: void DoStartNewGraphics(); wxString m_filename; - int m_sub_images; // number of png format images we have bool m_OK; bool m_graphics_changed; // set by Set{Brush,Pen}() int m_width, m_height; diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index a148f9ef42..0d4bd52bae 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -409,7 +409,6 @@ void wxSVGFileDCImpl::Init(const wxString &filename, int Width, int Height, m_filename = filename; m_graphics_changed = true; - m_sub_images = 0; ////////////////////code here