src/mathutils.c: do not return NULL when wrong window type is passed (thanks to Olivi...
authorPaul Brossier <piem@piem.org>
Mon, 7 Feb 2011 11:55:36 +0000 (12:55 +0100)
committerPaul Brossier <piem@piem.org>
Mon, 7 Feb 2011 11:55:36 +0000 (12:55 +0100)
src/mathutils.c

index ee70f1b5fc5d1be56da188104413f07d5fa56d7d..a1eb2cef992f5f6cadff7c8a2cba31bdfb3dfeb1 100644 (file)
@@ -72,7 +72,6 @@ new_aubio_window (char_t * window_type, uint_t size)
   else {
       AUBIO_ERR ("unknown window type %s, using default.\n", window_type);
       wintype = aubio_win_default;
-      return NULL;
   }
   switch(wintype) {
     case aubio_win_rectangle: