projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2f9af5d
)
ext/py-fft.c: remove doubled check
author
Paul Brossier
<piem@piem.org>
Tue, 10 Dec 2013 22:56:51 +0000
(17:56 -0500)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/python/ext/py-fft.c
b/python/ext/py-fft.c
index
19d7b49
..
3feb545
100644
(file)
--- 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;
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) {
if (win_s > 0) {
self->win_s = win_s;
} else if (win_s < 0) {