From 38214151f08818ad130112ddceaa2cb543f876bb Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 30 Nov 2018 03:11:56 +0100 Subject: [PATCH] [py] remove useless check in py-phasevoc.c --- python/ext/py-phasevoc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python/ext/py-phasevoc.c b/python/ext/py-phasevoc.c index e67c5f07..4d36fb3f 100644 --- 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) { -- 2.11.0