Fix debug build error in symbol remap dialog.
This commit is contained in:
parent
36606ceeb7
commit
578f01bfd9
|
@ -222,10 +222,10 @@ void DIALOG_SYMBOL_REMAP::remapSymbolsToLibTable( REPORTER& aReporter )
|
||||||
|
|
||||||
bool DIALOG_SYMBOL_REMAP::remapSymbolToLibTable( SCH_COMPONENT* aSymbol )
|
bool DIALOG_SYMBOL_REMAP::remapSymbolToLibTable( SCH_COMPONENT* aSymbol )
|
||||||
{
|
{
|
||||||
wxCHECK_RET( aSymbol != NULL, "Null pointer passed to remapSymbolToLibTable." );
|
wxCHECK_MSG( aSymbol != NULL, false, "Null pointer passed to remapSymbolToLibTable." );
|
||||||
wxCHECK_RET( aSymbol->GetLibId().GetLibNickname().empty(),
|
wxCHECK_MSG( aSymbol->GetLibId().GetLibNickname().empty(), false,
|
||||||
"Cannot remap symbol that is already mapped." );
|
"Cannot remap symbol that is already mapped." );
|
||||||
wxCHECK_RET( !aSymbol->GetLibId().GetLibItemName().empty(),
|
wxCHECK_MSG( !aSymbol->GetLibId().GetLibItemName().empty(), false,
|
||||||
"The symbol LIB_ID name is empty." );
|
"The symbol LIB_ID name is empty." );
|
||||||
|
|
||||||
PART_LIBS* libs = Prj().SchLibs();
|
PART_LIBS* libs = Prj().SchLibs();
|
||||||
|
|
Loading…
Reference in New Issue