Commit 226b3d64 authored by Dick Hollenbeck's avatar Dick Hollenbeck

fix compiler warnings

parent fc8e0bfb
......@@ -164,7 +164,7 @@ void PCB_EDIT_FRAME::loadFootprints( NETLIST& aNetlist, REPORTER* aReporter )
wxString msg;
wxString lastFootprintLibName;
COMPONENT* component;
MODULE* module;
MODULE* module = 0;
MODULE* fpOnBoard;
if( aNetlist.IsEmpty() )
......
......@@ -263,7 +263,7 @@ static POINT mapPt( const wxPoint& pt )
static DRAWSEGMENT* findPoint( const wxPoint& aPoint, TYPE_COLLECTOR* items, unsigned aLimit )
{
unsigned min_d = INT_MAX;
int ndx_min;
int ndx_min = 0;
// find the point closest to aPoint and perhaps exactly matching aPoint.
for( int i = 0; i<items->GetCount(); ++i )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment