diff --git a/pcbnew/eagle_plugin.cpp b/pcbnew/eagle_plugin.cpp index f23bd360ec..6fa9a4d119 100644 --- a/pcbnew/eagle_plugin.cpp +++ b/pcbnew/eagle_plugin.cpp @@ -768,7 +768,7 @@ void EAGLE_PLUGIN::loadPlain( wxXmlNode* aGraphics ) void EAGLE_PLUGIN::loadLibrary( wxXmlNode* aLib, const wxString* aLibName ) { - if( !aLib || !aLibName ) + if( !aLib ) return; // library will have node, skip that and get the single packages node