shithub: aubio

Download patch

ref: bf63c61f22c40b5f0918c00ec82995b43ef1bc09
parent: 2f9af5d5de8d3c4013de5cb2cd1ac0ebd1c5bc2b
author: Paul Brossier <[email protected]>
date: Tue Dec 10 12:56:51 EST 2013

ext/py-fft.c: remove doubled check

Signed-off-by: Paul Brossier <[email protected]>

--- a/python/ext/py-fft.c
+++ b/python/ext/py-fft.c
@@ -25,10 +25,6 @@
 
   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) {