From abd7e400a0f954b55751f9e6a74c62d6b2c67340 Mon Sep 17 00:00:00 2001 From: raburton Date: Sat, 10 Nov 2007 19:42:40 +0000 Subject: [PATCH] removed a couple of trivial build warnings --- pcbnew/dialog_drc.cpp | 2 -- pcbnew/zones.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pcbnew/dialog_drc.cpp b/pcbnew/dialog_drc.cpp index aa9d982e5c..4a8af2a6f3 100644 --- a/pcbnew/dialog_drc.cpp +++ b/pcbnew/dialog_drc.cpp @@ -392,8 +392,6 @@ bool WinEDA_DrcFrame::ProcessEvent( wxEvent& event ) if( wxTE_HT_UNKNOWN != m_logWindow->HitTest( pos, &col, &row ) ) { wxString text = m_logWindow->GetLineText( row ); - - int debug = 1; } } } diff --git a/pcbnew/zones.cpp b/pcbnew/zones.cpp index c91c3cabd9..43ee827d3f 100644 --- a/pcbnew/zones.cpp +++ b/pcbnew/zones.cpp @@ -249,7 +249,7 @@ void WinEDA_ZoneFrame::CreateControls() static const int GridList[4] = { 50, 100, 250, 500 }; int selection = 0; - for( unsigned ii = 0; ii < m_GridCtrl->GetCount(); ii++ ) + for( int ii = 0; ii < m_GridCtrl->GetCount(); ii++ ) { wxString msg = ReturnStringFromValue( g_UnitMetric, GridList[ii],