Quiet gcc warnings
This commit is contained in:
parent
828cdacc6f
commit
05b559c9dc
|
@ -375,7 +375,7 @@ protected:
|
||||||
SetValue( relPath );
|
SetValue( relPath );
|
||||||
|
|
||||||
if( !m_grid->CommitPendingChanges() )
|
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;
|
*m_currentDir = lastPath;
|
||||||
}
|
}
|
||||||
|
@ -402,7 +402,7 @@ protected:
|
||||||
SetValue( relPath );
|
SetValue( relPath );
|
||||||
|
|
||||||
if( !m_grid->CommitPendingChanges() )
|
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;
|
*m_currentDir = relPath;
|
||||||
}
|
}
|
||||||
|
|
|
@ -339,12 +339,6 @@ void SYMBOL_EDIT_FRAME::setupUIConditions()
|
||||||
return IsSymbolEditable() && !IsSymbolAlias();
|
return IsSymbolEditable() && !IsSymbolAlias();
|
||||||
};
|
};
|
||||||
|
|
||||||
auto schematicModifiedCond =
|
|
||||||
[this] ( const SELECTION& )
|
|
||||||
{
|
|
||||||
return IsSymbolFromSchematic() && GetScreen() && GetScreen()->IsModify();
|
|
||||||
};
|
|
||||||
|
|
||||||
auto libModifiedCondition =
|
auto libModifiedCondition =
|
||||||
[this] ( const SELECTION& sel )
|
[this] ( const SELECTION& sel )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue