From ace0032c8293f9728bbc13e7194b1c16ff1e1467 Mon Sep 17 00:00:00 2001 From: Roberto Fernandez Bautista Date: Thu, 1 Sep 2022 12:00:36 +0200 Subject: [PATCH] Fix build error & just completely remove the string instead of guarding --- .../cadstar/cadstar_sch_archive_loader.cpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp index cf78013eb4..87aacca45f 100644 --- a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp +++ b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp @@ -411,18 +411,8 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadPartsLibrary() } else { - // We can't add new strings onto 6.0 branch -#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 + // We can't add new strings onto 6.0 branch, so no error reporting + // 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