Fix a minor compil and a minor Coverity warnings.
This commit is contained in:
parent
86aaa2e9cb
commit
10990f8e81
|
@ -431,10 +431,10 @@ COLOR4D& COLOR4D::Saturate( double aFactor )
|
|||
return *this;
|
||||
}
|
||||
|
||||
constexpr COLOR4D COLOR4D::UNSPECIFIED( 0, 0, 0, 0 );
|
||||
constexpr COLOR4D COLOR4D::WHITE( 1, 1, 1, 1 );
|
||||
constexpr COLOR4D COLOR4D::BLACK( 0, 0, 0, 1 );
|
||||
constexpr COLOR4D COLOR4D::CLEAR( 1, 0, 1, 0 );
|
||||
const COLOR4D COLOR4D::UNSPECIFIED( 0, 0, 0, 0 );
|
||||
const COLOR4D COLOR4D::WHITE( 1, 1, 1, 1 );
|
||||
const COLOR4D COLOR4D::BLACK( 0, 0, 0, 1 );
|
||||
const COLOR4D COLOR4D::CLEAR( 1, 0, 1, 0 );
|
||||
|
||||
|
||||
EDA_COLOR_T COLOR4D::FindNearestLegacyColor( int aR, int aG, int aB )
|
||||
|
|
|
@ -245,9 +245,9 @@ struct VIEW_OVERLAY::COMMAND_BITMAP_TEXT : public VIEW_OVERLAY::COMMAND
|
|||
aView->GetGAL()->BitmapText( m_text, m_pos, m_angle );
|
||||
}
|
||||
|
||||
double m_angle;
|
||||
wxString m_text;
|
||||
VECTOR2D m_pos;
|
||||
double m_angle;
|
||||
};
|
||||
|
||||
VIEW_OVERLAY::VIEW_OVERLAY()
|
||||
|
|
Loading…
Reference in New Issue