From: Paul Brossier Date: Fri, 30 Nov 2018 02:11:56 +0000 (+0100) Subject: [py] remove useless check in py-phasevoc.c X-Git-Tag: 0.4.9~138 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=38214151f08818ad130112ddceaa2cb543f876bb;hp=8968ea7d492dfc56d83b953ec68df093569f3ead [py] remove useless check in py-phasevoc.c --- diff --git a/python/ext/py-phasevoc.c b/python/ext/py-phasevoc.c index e67c5f07..4d36fb3f 100644 --- a/python/ext/py-phasevoc.c +++ b/python/ext/py-phasevoc.c @@ -90,10 +90,6 @@ Py_pvoc_new (PyTypeObject * type, PyObject * args, PyObject * kwds) self->win_s = Py_default_vector_length; self->hop_s = Py_default_vector_length/2; - if (self == NULL) { - return NULL; - } - if (win_s > 0) { self->win_s = win_s; } else if (win_s < 0) {