Commit a43ece96 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Delete some vestigial code; execution will never reach the 'if' statement if args is NULL

parent 921879ab
......@@ -63,12 +63,7 @@ lock_PyThread_acquire_lock(lockobject *self, PyObject *args)
i = PyThread_acquire_lock(self->lock_lock, i);
Py_END_ALLOW_THREADS
if (args == NULL) {
Py_INCREF(Py_None);
return Py_None;
}
else
return PyBool_FromLong((long)i);
return PyBool_FromLong((long)i);
}
PyDoc_STRVAR(acquire_doc,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment