Very minor changes. ( changes in clipper are made to avoid coverity minor warnings).
This commit is contained in:
parent
0aa9fad668
commit
f67c7fe052
|
@ -980,14 +980,13 @@ void PCB_EDIT_FRAME::ScriptingConsoleEnableDisable( wxCommandEvent& aEvent )
|
|||
{
|
||||
|
||||
wxWindow * pythonPanelFrame = findPythonConsole();
|
||||
bool pythonPanelShown = false;
|
||||
bool pythonPanelShown = true;
|
||||
|
||||
if( pythonPanelFrame == NULL )
|
||||
pythonPanelFrame = new PYTHON_CONSOLE_FRAME( this, pythonConsoleNameId() );
|
||||
else
|
||||
pythonPanelShown = pythonPanelFrame->IsShown();
|
||||
pythonPanelShown = ! pythonPanelFrame->IsShown();
|
||||
|
||||
pythonPanelShown = ! pythonPanelShown;
|
||||
pythonPanelFrame->Show( pythonPanelShown );
|
||||
}
|
||||
|
||||
|
|
|
@ -879,6 +879,9 @@ ClipperBase::ClipperBase() //constructor
|
|||
{
|
||||
m_CurrentLM = m_MinimaList.begin(); //begin() == end() here
|
||||
m_UseFullRange = false;
|
||||
|
||||
//Clear vars to make coverity happy:
|
||||
m_PreserveCollinear = m_HasOpenPaths = false;
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
@ -3624,6 +3627,9 @@ ClipperOffset::ClipperOffset(double miterLimit, double arcTolerance)
|
|||
this->MiterLimit = miterLimit;
|
||||
this->ArcTolerance = arcTolerance;
|
||||
m_lowest.X = -1;
|
||||
|
||||
//Clear temp vars to make coverity happy.
|
||||
m_delta = m_sinA = m_sin = m_cos = m_miterLim = m_StepsPerRad = 0.0;
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue