Fix missing variable initialization
This commit is contained in:
parent
d5ff02ad55
commit
50b2271f84
|
@ -31,9 +31,11 @@
|
||||||
#include "../3d_fastmath.h"
|
#include "../3d_fastmath.h"
|
||||||
|
|
||||||
|
|
||||||
CPOSTSHADER_SSAO::CPOSTSHADER_SSAO( const CCAMERA &aCamera ) : CPOSTSHADER( aCamera )
|
CPOSTSHADER_SSAO::CPOSTSHADER_SSAO( const CCAMERA &aCamera ) :
|
||||||
|
CPOSTSHADER( aCamera ),
|
||||||
|
m_shadedBuffer( nullptr ),
|
||||||
|
m_isUsingShadows( false )
|
||||||
{
|
{
|
||||||
m_shadedBuffer = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// There are differente sources for this shader on the web
|
// There are differente sources for this shader on the web
|
||||||
|
|
|
@ -40,7 +40,8 @@
|
||||||
|
|
||||||
|
|
||||||
PROJECT::PROJECT() :
|
PROJECT::PROJECT() :
|
||||||
m_projectFile( nullptr )
|
m_projectFile( nullptr ),
|
||||||
|
m_localSettings( nullptr )
|
||||||
{
|
{
|
||||||
memset( m_elems, 0, sizeof(m_elems) );
|
memset( m_elems, 0, sizeof(m_elems) );
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,14 @@ const int appSettingsSchemaVersion = 0;
|
||||||
|
|
||||||
APP_SETTINGS_BASE::APP_SETTINGS_BASE( const std::string& aFilename, int aSchemaVersion ) :
|
APP_SETTINGS_BASE::APP_SETTINGS_BASE( const std::string& aFilename, int aSchemaVersion ) :
|
||||||
JSON_SETTINGS( aFilename, SETTINGS_LOC::USER, aSchemaVersion ),
|
JSON_SETTINGS( aFilename, SETTINGS_LOC::USER, aSchemaVersion ),
|
||||||
m_Printing(), m_System(), m_Window(), m_appSettingsSchemaVersion( aSchemaVersion )
|
m_CrossProbing(),
|
||||||
|
m_FindReplace(),
|
||||||
|
m_Graphics(),
|
||||||
|
m_LibTree(),
|
||||||
|
m_Printing(),
|
||||||
|
m_System(),
|
||||||
|
m_Window(),
|
||||||
|
m_appSettingsSchemaVersion( aSchemaVersion )
|
||||||
{
|
{
|
||||||
// Make Coverity happy:
|
// Make Coverity happy:
|
||||||
m_LibTree.column_width = 360;
|
m_LibTree.column_width = 360;
|
||||||
|
|
|
@ -36,7 +36,12 @@ const int commonSchemaVersion = 1;
|
||||||
|
|
||||||
COMMON_SETTINGS::COMMON_SETTINGS() :
|
COMMON_SETTINGS::COMMON_SETTINGS() :
|
||||||
JSON_SETTINGS( "kicad_common", SETTINGS_LOC::USER, commonSchemaVersion ),
|
JSON_SETTINGS( "kicad_common", SETTINGS_LOC::USER, commonSchemaVersion ),
|
||||||
m_Appearance(), m_Env(), m_Input(), m_Graphics(), m_System()
|
m_Appearance(),
|
||||||
|
m_Backup(),
|
||||||
|
m_Env(),
|
||||||
|
m_Input(),
|
||||||
|
m_Graphics(),
|
||||||
|
m_System()
|
||||||
{
|
{
|
||||||
// This only effect the first time KiCad is run. The user's setting will be used for all
|
// This only effect the first time KiCad is run. The user's setting will be used for all
|
||||||
// subsequent runs.
|
// subsequent runs.
|
||||||
|
|
|
@ -198,10 +198,11 @@ private:
|
||||||
|
|
||||||
|
|
||||||
TOOL_MANAGER::TOOL_MANAGER() :
|
TOOL_MANAGER::TOOL_MANAGER() :
|
||||||
m_model( NULL ),
|
m_model( nullptr ),
|
||||||
m_view( NULL ),
|
m_view( nullptr ),
|
||||||
m_viewControls( NULL ),
|
m_viewControls( nullptr ),
|
||||||
m_frame( NULL ),
|
m_frame( nullptr ),
|
||||||
|
m_settings( nullptr ),
|
||||||
m_warpMouseAfterContextMenu( true ),
|
m_warpMouseAfterContextMenu( true ),
|
||||||
m_menuActive( false ),
|
m_menuActive( false ),
|
||||||
m_menuOwner( -1 ),
|
m_menuOwner( -1 ),
|
||||||
|
|
|
@ -36,7 +36,22 @@
|
||||||
const int eeschemaSchemaVersion = 0;
|
const int eeschemaSchemaVersion = 0;
|
||||||
|
|
||||||
|
|
||||||
EESCHEMA_SETTINGS::EESCHEMA_SETTINGS() : APP_SETTINGS_BASE( "eeschema", eeschemaSchemaVersion )
|
EESCHEMA_SETTINGS::EESCHEMA_SETTINGS() :
|
||||||
|
APP_SETTINGS_BASE( "eeschema", eeschemaSchemaVersion ),
|
||||||
|
m_Appearance(),
|
||||||
|
m_AutoplaceFields(),
|
||||||
|
m_Drawing(),
|
||||||
|
m_Input(),
|
||||||
|
m_PageSettings(),
|
||||||
|
m_AnnotatePanel(),
|
||||||
|
m_BomPanel(),
|
||||||
|
m_FieldEditorPanel(),
|
||||||
|
m_LibViewPanel(),
|
||||||
|
m_NetlistPanel(),
|
||||||
|
m_SymChooserPanel(),
|
||||||
|
m_Selection(),
|
||||||
|
m_Simulator(),
|
||||||
|
m_RescueNeverShow( false )
|
||||||
{
|
{
|
||||||
m_params.emplace_back( new PARAM<wxString>( "appearance.edit_component_visible_columns",
|
m_params.emplace_back( new PARAM<wxString>( "appearance.edit_component_visible_columns",
|
||||||
&m_Appearance.edit_component_visible_columns, "0 1 2 3 4 5 6 7" ) );
|
&m_Appearance.edit_component_visible_columns, "0 1 2 3 4 5 6 7" ) );
|
||||||
|
|
|
@ -41,6 +41,7 @@ SCHEMATIC_SETTINGS::SCHEMATIC_SETTINGS( JSON_SETTINGS* aParent, const std::strin
|
||||||
m_TextOffsetRatio( 0.08 ),
|
m_TextOffsetRatio( 0.08 ),
|
||||||
m_PinSymbolSize( DEFAULT_TEXT_SIZE * IU_PER_MILS / 2 ),
|
m_PinSymbolSize( DEFAULT_TEXT_SIZE * IU_PER_MILS / 2 ),
|
||||||
m_JunctionSize( DEFAULT_JUNCTION_DIAM * IU_PER_MILS ),
|
m_JunctionSize( DEFAULT_JUNCTION_DIAM * IU_PER_MILS ),
|
||||||
|
m_SpiceAdjustPassiveValues( false ),
|
||||||
m_TemplateFieldNames( nullptr )
|
m_TemplateFieldNames( nullptr )
|
||||||
{
|
{
|
||||||
EESCHEMA_SETTINGS* appSettings = dynamic_cast<EESCHEMA_SETTINGS*>( Kiface().KifaceSettings() );
|
EESCHEMA_SETTINGS* appSettings = dynamic_cast<EESCHEMA_SETTINGS*>( Kiface().KifaceSettings() );
|
||||||
|
|
|
@ -484,6 +484,7 @@ ARULE6::ARULE6( ALTIUM_PARSER& aReader )
|
||||||
polygonconnectAirgapwidth = 0;
|
polygonconnectAirgapwidth = 0;
|
||||||
polygonconnectReliefconductorwidth = 0;
|
polygonconnectReliefconductorwidth = 0;
|
||||||
polygonconnectReliefentries = 0;
|
polygonconnectReliefentries = 0;
|
||||||
|
polygonconnectStyle = ALTIUM_CONNECT_STYLE::UNKNOWN;
|
||||||
|
|
||||||
aReader.Skip( 2 );
|
aReader.Skip( 2 );
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,7 @@ PCBNEW_SETTINGS::PCBNEW_SETTINGS()
|
||||||
m_FootprintViewer(),
|
m_FootprintViewer(),
|
||||||
m_FootprintWizard(),
|
m_FootprintWizard(),
|
||||||
m_Display(),
|
m_Display(),
|
||||||
|
m_TrackDragAction( TRACK_DRAG_ACTION::DRAG ),
|
||||||
m_Use45DegreeGraphicSegments( false ),
|
m_Use45DegreeGraphicSegments( false ),
|
||||||
m_FlipLeftRight( false ),
|
m_FlipLeftRight( false ),
|
||||||
m_PolarCoords( false ),
|
m_PolarCoords( false ),
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
PAD_TOOL::PAD_TOOL() :
|
PAD_TOOL::PAD_TOOL() :
|
||||||
PCB_TOOL_BASE( "pcbnew.PadTool" ),
|
PCB_TOOL_BASE( "pcbnew.PadTool" ),
|
||||||
m_padCopied( false ),
|
m_padCopied( false ),
|
||||||
|
m_wasHighContrast( false ),
|
||||||
m_editPad( niluuid )
|
m_editPad( niluuid )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue