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;
|
LIB_ID lastFPID;
|
||||||
COMPONENT* component;
|
COMPONENT* component;
|
||||||
FOOTPRINT* footprint = nullptr;
|
FOOTPRINT* footprint = nullptr;
|
||||||
FOOTPRINT* fpOnBoard;
|
FOOTPRINT* fpOnBoard = nullptr;
|
||||||
|
|
||||||
if( aNetlist.IsEmpty() || Prj().PcbFootprintLibs()->IsEmpty() )
|
if( aNetlist.IsEmpty() || Prj().PcbFootprintLibs()->IsEmpty() )
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue