ext/py-fft.c: remove doubled check
authorPaul Brossier <piem@piem.org>
Tue, 10 Dec 2013 22:56:51 +0000 (17:56 -0500)
committerPaul Brossier <piem@piem.org>
Tue, 10 Dec 2013 22:56:51 +0000 (17:56 -0500)
Signed-off-by: Paul Brossier <piem@piem.org>
python/ext/py-fft.c

index 19d7b49..3feb545 100644 (file)
@@ -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) {