]> git.saurik.com Git - wxWidgets.git/commitdiff
unused variable warning fix
authorRyan Norton <wxprojects@comcast.net>
Fri, 24 Sep 2004 12:25:57 +0000 (12:25 +0000)
committerRyan Norton <wxprojects@comcast.net>
Fri, 24 Sep 2004 12:25:57 +0000 (12:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toolbar.cpp

index 9a6f08cd1f1f900e27e920bdd566aa1536be44e1..c200e86f7b1d2514232f7a8467f3a936d6c2e91e 100644 (file)
@@ -211,7 +211,7 @@ void wxToolBarTool::SetPosition(const wxPoint& position)
         GetControlBounds( m_controlHandle , &contrlRect ) ; 
         int former_mac_x = contrlRect.left ;
         int former_mac_y = contrlRect.top ;
-        wxSize sz = GetToolBar()->GetToolSize() ;
+        GetToolBar()->GetToolSize() ;
         
         if ( mac_x != former_mac_x || mac_y != former_mac_y )
         {