PVS: V601 The bool type is implicitly cast to the double type
PVS: V668 There is no sense in testing pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error
This commit is contained in:
@@ -185,7 +185,7 @@ PyObject *PropertyPartShape::getPyObject(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (prop) prop->setConst();
|
||||
prop->setConst();
|
||||
return prop;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user