From b130595975443be0d0ce2d90b724d06191402b5e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Nov 2017 18:28:54 +0100 Subject: [PATCH] Remove accidental global variable from the font sample This variable was never used and appears to have been created accidentally, so just remove it and avoid variable shadowing warnings from MSVS 2015 when building the sample. --- samples/font/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/font/font.cpp b/samples/font/font.cpp index af83e881b3..ed31b2dc26 100644 --- a/samples/font/font.cpp +++ b/samples/font/font.cpp @@ -476,7 +476,7 @@ protected: private: wxArrayString m_facenames; -} fontEnumerator; +}; bool MyFrame::DoEnumerateFamilies(bool fixedWidthOnly, wxFontEncoding encoding,