From: Paul Brossier Date: Mon, 7 Feb 2011 11:55:36 +0000 (+0100) Subject: src/mathutils.c: do not return NULL when wrong window type is passed (thanks to Olivi... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c37aee16ffa47fd5f7eca78ab11965b4353045f5;p=aubio.git src/mathutils.c: do not return NULL when wrong window type is passed (thanks to Olivier Robert) --- diff --git a/src/mathutils.c b/src/mathutils.c index ee70f1b5..a1eb2cef 100644 --- a/src/mathutils.c +++ b/src/mathutils.c @@ -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: