fix compiler warnings
This commit is contained in:
parent
fc8e0bfb75
commit
226b3d64be
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue