diff options
Diffstat (limited to 'Modules/audioop.c')
-rw-r--r-- | Modules/audioop.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Modules/audioop.c b/Modules/audioop.c index 467bd63..64cf981 100644 --- a/Modules/audioop.c +++ b/Modules/audioop.c @@ -1926,9 +1926,7 @@ static int audioop_traverse(PyObject *module, visitproc visit, void *arg) { audioop_state *state = (audioop_state *)PyModule_GetState(module); - if (state) { - Py_VISIT(state->AudioopError); - } + Py_VISIT(state->AudioopError); return 0; } @@ -1936,9 +1934,7 @@ static int audioop_clear(PyObject *module) { audioop_state *state = (audioop_state *)PyModule_GetState(module); - if (state) { - Py_CLEAR(state->AudioopError); - } + Py_CLEAR(state->AudioopError); return 0; } |