Quiet gcc warnings

This commit is contained in:
Seth Hillbrand 2021-02-18 10:36:16 -08:00
parent 828cdacc6f
commit 05b559c9dc
2 changed files with 3 additions and 9 deletions

View File

@ -375,7 +375,7 @@ protected:
SetValue( relPath );
if( !m_grid->CommitPendingChanges() )
; // shouldn't happen, but Coverity doesn't know that
{;} // shouldn't happen, but Coverity doesn't know that
*m_currentDir = lastPath;
}
@ -402,7 +402,7 @@ protected:
SetValue( relPath );
if( !m_grid->CommitPendingChanges() )
; // shouldn't happen, but Coverity doesn't know that
{;} // shouldn't happen, but Coverity doesn't know that
*m_currentDir = relPath;
}

View File

@ -339,12 +339,6 @@ void SYMBOL_EDIT_FRAME::setupUIConditions()
return IsSymbolEditable() && !IsSymbolAlias();
};
auto schematicModifiedCond =
[this] ( const SELECTION& )
{
return IsSymbolFromSchematic() && GetScreen() && GetScreen()->IsModify();
};
auto libModifiedCondition =
[this] ( const SELECTION& sel )
{