From abdad952689c21d28683feff31b1fc6b6e2b1ce7 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 18 Apr 2014 19:52:52 +0000 Subject: remove unnecessary void* returns that clang caught svn path=/trunk/externals/unauthorized/; revision=17300 --- countund.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'countund.c') diff --git a/countund.c b/countund.c index 07d5565..fb0495b 100644 --- a/countund.c +++ b/countund.c @@ -75,12 +75,11 @@ static void *countund_new(t_float flimit) return(x); } -static void *countund_limit(t_countund* x, t_float flimit) +static void countund_limit(t_countund* x, t_float flimit) { if ( flimit < 0 ) { post( "countund~: wrong count limit" ); - return; } else { @@ -88,9 +87,8 @@ static void *countund_limit(t_countund* x, t_float flimit) } } -static void *countund_bang(t_countund *x) +static void countund_bang(t_countund *x) { - if ( x->x_up ) { x->x_value+=1; @@ -110,7 +108,6 @@ static void *countund_bang(t_countund *x) } } outlet_float( x->x_obj.ob_outlet, x->x_value ); - return; } void countund_setup(void) -- cgit v1.2.1