]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/frame.cpp
Remove unneeded variable initializations in wxPM code.
[wxWidgets.git] / src / os2 / frame.cpp
index 6f200c9ddeb134ba9377bc15ff4f0a750bd2c73f..a872743ea25db80e4632936fd3b381a8e37258f2 100644 (file)
@@ -1071,9 +1071,8 @@ MRESULT EXPENTRY wxFrameMainWndProc( HWND   hWnd,
 {
     MRESULT  rc = (MRESULT)0;
     bool     bProcessed = false;
-    wxFrame* pWnd  = NULL;
 
-    pWnd = (wxFrame*) wxFindWinFromHandle((WXHWND) hWnd);
+    wxFrame* pWnd  = (wxFrame*) wxFindWinFromHandle((WXHWND) hWnd);
     switch (ulMsg)
     {
         case WM_QUERYFRAMECTLCOUNT: