From a051e6f1641664bdde369baa9fe033a0dbe6ad3b Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Sat, 7 Jan 2017 10:25:10 -0800 Subject: [PATCH] fix pybullet unreachable code path --- examples/pybullet/pybullet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index 4fed9e3a5..5f23c6b73 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -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,