From 28e2e0f475aedb2053d5f673786918012056b5d3 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Mon, 6 Jul 2015 21:50:23 +0200 Subject: [PATCH] Removed unused local variable from wxPropertyGrid::GetPropertyRect --- src/propgrid/propgrid.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/propgrid/propgrid.cpp b/src/propgrid/propgrid.cpp index f421126198..0b92179d2a 100644 --- a/src/propgrid/propgrid.cpp +++ b/src/propgrid/propgrid.cpp @@ -2552,8 +2552,6 @@ int wxPropertyGrid::DoDrawItems( wxDC& dc, wxRect wxPropertyGrid::GetPropertyRect( const wxPGProperty* p1, const wxPGProperty* p2 ) const { - wxRect r; - if ( m_width < 10 || m_height < 10 || !m_pState->DoGetRoot()->GetChildCount() || p1 == NULL )