fix various coverity issues

This commit is contained in:
wmayer
2017-09-15 11:48:38 +02:00
parent a3953e95df
commit fde42545ba
17 changed files with 83 additions and 21 deletions

View File

@@ -77,7 +77,7 @@ using namespace PartGui;
PROPERTY_SOURCE(PathGui::ViewProviderPath, Gui::ViewProviderGeometryObject)
ViewProviderPath::ViewProviderPath()
:pt0Index(-1),blockPropertyChange(false),edgeStart(-1),coordStart(-1)
:pt0Index(-1),blockPropertyChange(false),edgeStart(-1),coordStart(-1),coordEnd(-1)
{
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Path");
unsigned long lcol = hGrp->GetUnsigned("DefaultNormalPathColor",11141375UL); // dark green (0,170,0)