Fix uninitialized ptr
This commit is contained in:
parent
cad5198ab7
commit
26995b10fb
|
@ -137,7 +137,7 @@ void PCB_EDIT_FRAME::LoadFootprints( NETLIST& aNetlist, REPORTER& aReporter )
|
|||
LIB_ID lastFPID;
|
||||
COMPONENT* component;
|
||||
FOOTPRINT* footprint = nullptr;
|
||||
FOOTPRINT* fpOnBoard;
|
||||
FOOTPRINT* fpOnBoard = nullptr;
|
||||
|
||||
if( aNetlist.IsEmpty() || Prj().PcbFootprintLibs()->IsEmpty() )
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue