mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
gh-96715 Remove redundant NULL check in profile_trampoline
function (#96716)
Closes #96715
This commit is contained in:
parent
621a1790c4
commit
3221b0de67
1 changed files with 0 additions and 4 deletions
|
@ -950,10 +950,6 @@ static int
|
|||
profile_trampoline(PyObject *self, PyFrameObject *frame,
|
||||
int what, PyObject *arg)
|
||||
{
|
||||
if (arg == NULL) {
|
||||
arg = Py_None;
|
||||
}
|
||||
|
||||
PyThreadState *tstate = _PyThreadState_GET();
|
||||
PyObject *result = call_trampoline(tstate, self, frame, what, arg);
|
||||
if (result == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue