From 08f060ebd2834d105dd49fd620123baef6bd7d84 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 6 Mar 2016 22:12:30 +0100 Subject: [PATCH] Fix harmless unused variable warning in the help sample wxHtmlModalHelp class can be used as a function, there is no need to name the variable. --- samples/help/demo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/help/demo.cpp b/samples/help/demo.cpp index 26a1e6f8cb..d01ed11b09 100644 --- a/samples/help/demo.cpp +++ b/samples/help/demo.cpp @@ -531,7 +531,7 @@ void MyFrame::OnBestHelp(wxCommandEvent& event) #if USE_HTML_HELP void MyFrame::OnModalHtmlHelp(wxCommandEvent& WXUNUSED(event)) { - wxHtmlModalHelp modalHelp(this, wxT("doc.zip"), wxT("Introduction")); + wxHtmlModalHelp(this, wxT("doc.zip"), wxT("Introduction")); } #endif