From: Vadim Zeitlin Date: Thu, 30 Jun 2011 12:20:38 +0000 (+0000) Subject: Fix harmless warning about unused variable in isosurf sample. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e2250d6417097fb29b0deece838462434beb3c6e Fix harmless warning about unused variable in isosurf sample. Don't declare and initialize a variable that we never use. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/opengl/isosurf/isosurf.cpp b/samples/opengl/isosurf/isosurf.cpp index 2138a85c26..707b48c424 100644 --- a/samples/opengl/isosurf/isosurf.cpp +++ b/samples/opengl/isosurf/isosurf.cpp @@ -57,7 +57,7 @@ bool MyApp::OnInit() return false; // Create the main frame window - MyFrame *frame = new MyFrame(NULL, wxT("wxWidgets OpenGL Isosurf Sample")); + new MyFrame(NULL, wxT("wxWidgets OpenGL Isosurf Sample")); return true; }