From 36fe1e0f663016fb4c27759b9deecc04b5e4bea5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 30 Mar 2018 22:53:07 +0200 Subject: [PATCH] Initialize ArchiveApp members in ctor in the sample No real changes, but initialize members of ArchiveApp class in its ctor to avoid leaving them uninitialized. --- samples/archive/archive.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/samples/archive/archive.cpp b/samples/archive/archive.cpp index 74f23102c6..f622ca1d99 100644 --- a/samples/archive/archive.cpp +++ b/samples/archive/archive.cpp @@ -26,6 +26,11 @@ class ArchiveApp: public wxAppConsole { public: + ArchiveApp() + { + m_forceZip64 = false; + m_archiveClassFactory = NULL; + } virtual void OnInitCmdLine(wxCmdLineParser& parser) wxOVERRIDE;