From c37aee16ffa47fd5f7eca78ab11965b4353045f5 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 7 Feb 2011 12:55:36 +0100 Subject: [PATCH] src/mathutils.c: do not return NULL when wrong window type is passed (thanks to Olivier Robert) --- src/mathutils.c | 1 - 1 file changed, 1 deletion(-) 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: -- 2.26.2