Fix build error & just completely remove the string instead of guarding

This commit is contained in:
Roberto Fernandez Bautista 2022-09-01 12:00:36 +02:00
parent cd30711cf8
commit ace0032c82
1 changed files with 2 additions and 12 deletions

View File

@ -411,18 +411,8 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadPartsLibrary()
} }
else else
{ {
// We can't add new strings onto 6.0 branch // We can't add new strings onto 6.0 branch, so no error reporting
#ifdef 0
if( part.Definition.GateSymbols.size() == 0 )
{
m_reporter->Report(
wxString::Format( _( "Part definition '%s' has an incomplete definition (no"
" symbol definitions are associated with it). The part"
" has not been loaded into the KiCad library." ),
part.Name ),
RPT_SEVERITY_WARNING );
}
#endif
// Don't save in the library, but still keep it cached as some of the units might have // Don't save in the library, but still keep it cached as some of the units might have
// been loaded correctly (saving us time later on), plus the part definition contains // been loaded correctly (saving us time later on), plus the part definition contains