projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8968ea7
)
[py] remove useless check in py-phasevoc.c
author
Paul Brossier
<piem@piem.org>
Fri, 30 Nov 2018 02:11:56 +0000
(
03:11
+0100)
committer
Paul Brossier
<piem@piem.org>
Fri, 30 Nov 2018 02:11:56 +0000
(
03:11
+0100)
python/ext/py-phasevoc.c
patch
|
blob
|
history
diff --git
a/python/ext/py-phasevoc.c
b/python/ext/py-phasevoc.c
index
e67c5f0
..
4d36fb3
100644
(file)
--- 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) {