nullptr safety
This commit is contained in:
parent
e4baf877c8
commit
1c73d3d967
|
@ -1932,7 +1932,8 @@ BOARD_CONNECTED_ITEM* PNS_KICAD_IFACE::createBoardItem( PNS::ITEM* aItem )
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
default: break;
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if( net->GetNetCode() <= 0 )
|
||||
|
|
Loading…
Reference in New Issue