shithub: aubio

Download patch

ref: 38214151f08818ad130112ddceaa2cb543f876bb
parent: 8968ea7d492dfc56d83b953ec68df093569f3ead
author: Paul Brossier <piem@piem.org>
date: Thu Nov 29 22:11:56 EST 2018

[py] remove useless check in py-phasevoc.c

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