diff --git a/samples/html/helpview/helpview.cpp b/samples/html/helpview/helpview.cpp
index 3cb2b9bc4d..ba4c62925d 100644
--- a/samples/html/helpview/helpview.cpp
+++ b/samples/html/helpview/helpview.cpp
@@ -53,9 +53,6 @@ IMPLEMENT_APP(MyApp)
bool MyApp::OnInit()
{
- if ( !wxApp::OnInit() )
- return false;
-
#ifdef __WXMOTIF__
delete wxLog::SetActiveTarget(new wxLogStderr); // So dialog boxes aren't used
#endif