From: Paul Brossier Date: Tue, 10 Dec 2013 22:56:51 +0000 (-0500) Subject: ext/py-fft.c: remove doubled check X-Git-Tag: 0.4.0~27 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=bf63c61f22c40b5f0918c00ec82995b43ef1bc09;p=aubio.git ext/py-fft.c: remove doubled check Signed-off-by: Paul Brossier --- diff --git a/python/ext/py-fft.c b/python/ext/py-fft.c index 19d7b49b..3feb5454 100644 --- a/python/ext/py-fft.c +++ b/python/ext/py-fft.c @@ -25,10 +25,6 @@ Py_fft_new (PyTypeObject * type, PyObject * args, PyObject * kwds) self->win_s = Py_default_vector_length; - if (self == NULL) { - return NULL; - } - if (win_s > 0) { self->win_s = win_s; } else if (win_s < 0) {