Silence a couple of compiler warnings.

This commit is contained in:
Jeff Young 2020-02-25 15:21:50 +00:00
parent 879a8f4efb
commit 0614bbc663
2 changed files with 3 additions and 1 deletions

View File

@ -2040,7 +2040,7 @@ void SCH_LEGACY_PLUGIN::saveComponent( SCH_COMPONENT* aComponent )
wxString path = "/"; wxString path = "/";
// Skip root sheet // Skip root sheet
for( int i = 1; i < instance.m_Path.size(); ++i ) for( int i = 1; i < (int) instance.m_Path.size(); ++i )
path += instance.m_Path[i].AsLegacyTimestampString() + "/"; path += instance.m_Path[i].AsLegacyTimestampString() + "/";
m_out->Print( 0, "AR Path=\"%s\" Ref=\"%s\" Part=\"%d\" \n", m_out->Print( 0, "AR Path=\"%s\" Ref=\"%s\" Part=\"%d\" \n",

View File

@ -353,6 +353,8 @@ public:
case DRC_TREE_NODE::MAIN_ITEM: return false; case DRC_TREE_NODE::MAIN_ITEM: return false;
case DRC_TREE_NODE::AUX_ITEM: return false; case DRC_TREE_NODE::AUX_ITEM: return false;
} }
return false;
} }
void DeleteCurrentItem() void DeleteCurrentItem()