Fix warnings
This commit is contained in:
parent
1c895fe18c
commit
b1695add9e
|
@ -309,7 +309,7 @@ std::unique_ptr<LIBEVAL::VAR_REF> PCBEXPR_UCODE::CreateVarRef( const wxString& a
|
|||
|
||||
if( aField.length() == 0 ) // return reference to base object
|
||||
{
|
||||
return std::move( vref );
|
||||
return vref;
|
||||
}
|
||||
|
||||
wxString field( aField );
|
||||
|
@ -353,7 +353,7 @@ std::unique_ptr<LIBEVAL::VAR_REF> PCBEXPR_UCODE::CreateVarRef( const wxString& a
|
|||
if( vref->GetType() == LIBEVAL::VT_UNDEFINED )
|
||||
vref->SetType( LIBEVAL::VT_PARSE_ERROR );
|
||||
|
||||
return std::move( vref );
|
||||
return vref;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -2109,7 +2109,7 @@ void EDIT_TOOL::DeleteItems( const PCB_SELECTION& aItems, bool aIsCut )
|
|||
|
||||
FOOTPRINT* parentFP = board_item->GetParentFootprint();
|
||||
|
||||
if( PCB_GROUP* parentGroup = board_item->GetParentGroup() )
|
||||
if( board_item->GetParentGroup() )
|
||||
commit.Stage( board_item, CHT_UNGROUP );
|
||||
|
||||
switch( item->Type() )
|
||||
|
|
Loading…
Reference in New Issue