Coverity issues:

129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
This commit is contained in:
wmayer
2016-08-15 21:28:41 +02:00
parent dde8c3f4c1
commit af4ef2fa7f
7 changed files with 34 additions and 20 deletions

View File

@@ -39,7 +39,7 @@ using namespace App;
PROPERTY_SOURCE(App::VRMLObject, App::GeoFeature)
VRMLObject::VRMLObject()
VRMLObject::VRMLObject() : index(0)
{
ADD_PROPERTY_TYPE(VrmlFile,(0),"",Prop_None,"Included file with the VRML definition");
ADD_PROPERTY_TYPE(Urls,(""),"",static_cast<PropertyType>(Prop_ReadOnly|Prop_Output|Prop_Transient),