Fix 2 Coverity warnings.
This commit is contained in:
parent
1420a0179f
commit
89914fa9de
|
@ -544,6 +544,7 @@ void GERBVIEW_FRAME::OnUpdateSelectDCode( wxUpdateUIEvent& aEvent )
|
|||
m_DCodeSelector->SetDCodeSelection( selected );
|
||||
// Be sure the selection can be made. If no, set to
|
||||
// a correct value
|
||||
if( gerber )
|
||||
gerber->m_Selected_Tool = m_DCodeSelector->GetSelectedDCodeId();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -395,6 +395,7 @@ public:
|
|||
m_penSize = 1;
|
||||
m_sheetNumber = 1;
|
||||
m_sheetCount = 1;
|
||||
m_sheetLayer = 0;
|
||||
m_titleBlock = NULL;
|
||||
m_paperFormat = NULL;
|
||||
m_sheetFullName = NULL;
|
||||
|
|
Loading…
Reference in New Issue