Silence some clang warnings

This commit is contained in:
Seth Hillbrand 2022-08-22 12:54:00 -07:00
parent 3a76d42630
commit 4b63c7012d
2 changed files with 2 additions and 2 deletions

View File

@ -393,7 +393,7 @@ protected:
LIB_TREE_NODE_ROOT m_tree;
private:
EDA_BASE_FRAME* m_parent;
[[maybe_unused]] EDA_BASE_FRAME* m_parent;
SYM_FILTER_TYPE m_filter;
bool m_show_units;

View File

@ -1730,7 +1730,7 @@ void CADSTAR_PCB_ARCHIVE_LOADER::loadComponents()
delete kiPad;
if( kiPad = getKiCadPad( csPad, footprint ) )
if( ( kiPad = getKiCadPad( csPad, footprint ) ) )
{
kiPad->SetNumber( padNumber );