From 51c0b61d09f5cc67cea061f34b4816587163414d Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 23 Jan 2019 23:33:38 +0100 Subject: [PATCH] [batchnorm] remove comments, add a note about no input parameter --- src/ai/batchnorm.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ai/batchnorm.c b/src/ai/batchnorm.c index 490da8ba..7aba3d53 100644 --- a/src/ai/batchnorm.c +++ b/src/ai/batchnorm.c @@ -37,12 +37,8 @@ static void aubio_batchnorm_debug(aubio_batchnorm_t *c, aubio_batchnorm_t *new_aubio_batchnorm(void) { aubio_batchnorm_t *c = AUBIO_NEW(aubio_batchnorm_t); + // note; no input parameter, so no other possible failure return c; -#if 0 // no argument so no other possible failure -failure: - del_aubio_batchnorm(c); - return NULL; -#endif } static void aubio_batchnorm_reset(aubio_batchnorm_t *c) { -- 2.11.0