fix pybullet unreachable code path

This commit is contained in:
Erwin Coumans
2017-01-07 10:25:10 -08:00
parent b773481266
commit a051e6f164

View File

@@ -1083,8 +1083,8 @@ b3PhysicsClientHandle sm = 0;
Py_INCREF(Py_None);
return Py_None;
}
PyErr_SetString(SpamError, "Error parsing arguments in setJointControl.");
return NULL;
// PyErr_SetString(SpamError, "Error parsing arguments in setJointControl.");
// return NULL;
}
static PyObject* pybullet_setRealTimeSimulation(PyObject* self,