Fix uninitialized ptr

This commit is contained in:
Seth Hillbrand 2021-02-22 10:07:40 -08:00
parent cad5198ab7
commit 26995b10fb
1 changed files with 1 additions and 1 deletions

View File

@ -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;