More uninitialized variables.
This commit is contained in:
parent
91d1508c16
commit
9df2cfb328
|
@ -27,7 +27,6 @@
|
||||||
#include <wx/string.h>
|
#include <wx/string.h>
|
||||||
#include <wx/display.h>
|
#include <wx/display.h>
|
||||||
#include <dialog_shim.h>
|
#include <dialog_shim.h>
|
||||||
#include <eda_doc.h>
|
|
||||||
#include <id.h>
|
#include <id.h>
|
||||||
#include <kiface_i.h>
|
#include <kiface_i.h>
|
||||||
#include <pgm_base.h>
|
#include <pgm_base.h>
|
||||||
|
@ -82,7 +81,12 @@ EDA_BASE_FRAME::EDA_BASE_FRAME( wxWindow* aParent, FRAME_T aFrameType,
|
||||||
const wxString& aTitle, const wxPoint& aPos, const wxSize& aSize,
|
const wxString& aTitle, const wxPoint& aPos, const wxSize& aSize,
|
||||||
long aStyle, const wxString& aFrameName, KIWAY* aKiway ) :
|
long aStyle, const wxString& aFrameName, KIWAY* aKiway ) :
|
||||||
wxFrame( aParent, wxID_ANY, aTitle, aPos, aSize, aStyle, aFrameName ),
|
wxFrame( aParent, wxID_ANY, aTitle, aPos, aSize, aStyle, aFrameName ),
|
||||||
KIWAY_HOLDER( aKiway, KIWAY_HOLDER::FRAME )
|
KIWAY_HOLDER( aKiway, KIWAY_HOLDER::FRAME ),
|
||||||
|
m_actions( nullptr ),
|
||||||
|
m_immediateActions( true ),
|
||||||
|
m_dragSelects( true ),
|
||||||
|
m_moveWarpsCursor( true ),
|
||||||
|
m_userUnits( EDA_UNITS::MILLIMETRES )
|
||||||
{
|
{
|
||||||
m_Ident = aFrameType;
|
m_Ident = aFrameType;
|
||||||
m_hasAutoSave = false;
|
m_hasAutoSave = false;
|
||||||
|
|
|
@ -111,7 +111,7 @@ EDA_DRAW_FRAME::EDA_DRAW_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAME_T aFrame
|
||||||
// BLACK for Pcbnew, BLACK or WHITE for eeschema
|
// BLACK for Pcbnew, BLACK or WHITE for eeschema
|
||||||
m_MsgFrameHeight = EDA_MSG_PANEL::GetRequiredHeight();
|
m_MsgFrameHeight = EDA_MSG_PANEL::GetRequiredHeight();
|
||||||
m_zoomLevelCoeff = 1.0;
|
m_zoomLevelCoeff = 1.0;
|
||||||
m_userUnits = EDA_UNITS::MILLIMETRES;
|
m_userUnits = EDA_UNITS::MILLIMETRES;
|
||||||
m_PolarCoords = false;
|
m_PolarCoords = false;
|
||||||
m_findReplaceData = new wxFindReplaceData( wxFR_DOWN );
|
m_findReplaceData = new wxFindReplaceData( wxFR_DOWN );
|
||||||
|
|
||||||
|
|
|
@ -61,10 +61,12 @@
|
||||||
#include "zone_filler_tool.h"
|
#include "zone_filler_tool.h"
|
||||||
|
|
||||||
DRC::DRC() :
|
DRC::DRC() :
|
||||||
PCB_TOOL_BASE( "pcbnew.DRCTool" )
|
PCB_TOOL_BASE( "pcbnew.DRCTool" ),
|
||||||
|
m_currentMarker( nullptr ),
|
||||||
|
m_pcbEditorFrame( nullptr ),
|
||||||
|
m_pcb( nullptr ),
|
||||||
|
m_drcDialog( nullptr )
|
||||||
{
|
{
|
||||||
m_drcDialog = NULL;
|
|
||||||
|
|
||||||
// establish initial values for everything:
|
// establish initial values for everything:
|
||||||
m_doPad2PadTest = true; // enable pad to pad clearance tests
|
m_doPad2PadTest = true; // enable pad to pad clearance tests
|
||||||
m_doUnconnectedTest = true; // enable unconnected tests
|
m_doUnconnectedTest = true; // enable unconnected tests
|
||||||
|
@ -80,8 +82,6 @@ DRC::DRC() :
|
||||||
m_doCreateRptFile = false;
|
m_doCreateRptFile = false;
|
||||||
// m_rptFilename set to empty by its constructor
|
// m_rptFilename set to empty by its constructor
|
||||||
|
|
||||||
m_currentMarker = NULL;
|
|
||||||
|
|
||||||
m_segmAngle = 0;
|
m_segmAngle = 0;
|
||||||
m_segmLength = 0;
|
m_segmLength = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue