PVS: V560 A part of conditional expression is always true
This commit is contained in:
@@ -281,7 +281,7 @@ PyObject* TopoShapeSolidPy::offsetFaces(PyObject *args)
|
||||
}
|
||||
|
||||
bool paramOK = false;
|
||||
if (!paramOK && PyArg_ParseTuple(args, "Od", &obj,&offset)) {
|
||||
if (PyArg_ParseTuple(args, "Od", &obj,&offset)) {
|
||||
paramOK = true;
|
||||
Py::Sequence list(obj);
|
||||
for (Py::Sequence::iterator it = list.begin(); it != list.end(); ++it) {
|
||||
|
||||
Reference in New Issue
Block a user