Quiet gcc warnings
This commit is contained in:
parent
828cdacc6f
commit
05b559c9dc
|
@ -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;
|
||||
}
|
||||
|
@ -437,4 +437,4 @@ void GRID_CELL_PATH_EDITOR::Create( wxWindow* aParent, wxWindowID aId,
|
|||
#endif
|
||||
|
||||
wxGridCellEditor::Create( aParent, aId, aEventHandler );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue