mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix a few Coverity warnings (uninitialized vars). No actual code change
This commit is contained in:
parent
3c9d696c68
commit
b3c6a03171
@ -68,6 +68,7 @@ EDA_SHAPE::EDA_SHAPE( const SHAPE& aShape ) :
|
||||
m_endsSwapped( false ),
|
||||
m_stroke( 0, LINE_STYLE::DEFAULT, COLOR4D::UNSPECIFIED ),
|
||||
m_fill(),
|
||||
m_hatchingDirty( true ),
|
||||
m_rectangleHeight( 0 ),
|
||||
m_rectangleWidth( 0 ),
|
||||
m_segmentLength( 0 ),
|
||||
|
@ -676,6 +676,7 @@ PCBEXPR_COMPILER::PCBEXPR_COMPILER( LIBEVAL::UNIT_RESOLVER* aUnitResolver )
|
||||
|
||||
PCBEXPR_EVALUATOR::PCBEXPR_EVALUATOR( LIBEVAL::UNIT_RESOLVER* aUnitResolver ) :
|
||||
m_result( 0 ),
|
||||
m_units( EDA_UNITS::MM ),
|
||||
m_compiler( aUnitResolver ),
|
||||
m_ucode(),
|
||||
m_errorStatus()
|
||||
|
@ -127,6 +127,7 @@ public:
|
||||
m_FootprintViewerZoom( 1.0 ),
|
||||
m_FootprintViewerAutoZoomOnSelect( true )
|
||||
{
|
||||
m_ViewersDisplay.m_Use45Limit = false;
|
||||
m_ViewersDisplay.m_DisplayGraphicsFill = true;
|
||||
m_ViewersDisplay.m_DisplayTextFill = true;
|
||||
m_ViewersDisplay.m_DisplayPadNumbers = true;
|
||||
|
@ -42,7 +42,8 @@ class PCB_VIEWER_TOOLS : public TOOL_INTERACTIVE
|
||||
public:
|
||||
PCB_VIEWER_TOOLS() :
|
||||
TOOL_INTERACTIVE( "pcbnew.PCBViewerTools" ),
|
||||
m_footprintFrame( false )
|
||||
m_footprintFrame( false ),
|
||||
m_isDefaultTool( false )
|
||||
{}
|
||||
|
||||
~PCB_VIEWER_TOOLS() override {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user