]> git.saurik.com Git - wxWidgets.git/commitdiff
unused variable
authorPaul Cornett <paulcor@bullseye.com>
Thu, 7 Dec 2006 07:16:14 +0000 (07:16 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 7 Dec 2006 07:16:14 +0000 (07:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/radiobox.cpp

index a16eaf5679f47ede7434e7da16a6d541d23dd323..938fe515ca061bb7452faca17e9d88b033585244 100644 (file)
@@ -193,12 +193,11 @@ static void gtk_radiobutton_size_allocate( GtkWidget *widget,
                                            GtkAllocation * alloc,
                                            wxRadioBox *win )
 {
-    unsigned int n = 0;
     for ( wxRadioBoxButtonsInfoList::compatibility_iterator node = win->m_buttonsInfo.GetFirst();
           node;
-          node = node->GetNext(), n++ )
+          node = node->GetNext())
     {
-        if( widget == GTK_WIDGET(node->GetData()->button) )
+        if (widget == GTK_WIDGET(node->GetData()->button))
         {
             const wxPoint origin = win->GetPosition();
             wxRect rect = wxRect( alloc->x - origin.x, alloc->y - origin.y,