From fc89459187380d862daf249c95ed389e3fb6c0d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 3 Jun 2013 16:07:32 +0000 Subject: declare unused parameters as such rather than doing a dummy-usage svn path=/trunk/externals/zexy/; revision=17144 --- src/time.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/time.c') diff --git a/src/time.c b/src/time.c index 02ba814..9db6195 100644 --- a/src/time.c +++ b/src/time.c @@ -57,11 +57,10 @@ typedef struct _time t_outlet *x_outlet4; } t_time; -static void *time_new(t_symbol *s, int argc, t_atom *argv) +static void *time_new(t_symbol* UNUSED(s), int argc, t_atom *argv) { t_time *x = (t_time *)pd_new(time_class); char buf[5]; - ZEXY_USEVAR(s); x->GMT=0; if (argc) { @@ -99,9 +98,8 @@ static void time_bang(t_time *x) outlet_float(x->x_outlet1, (t_float)resolvetime->tm_hour); } -static void help_time(t_time *x) +static void help_time(t_time* UNUSED(x)) { - ZEXY_USEVAR(x); post("\n"HEARTSYMBOL" time\t\t:: get the current system time"); post("\noutputs are\t: hour / minute / sec / msec"); post("\ncreation\t:: 'time [GMT]': show local time or GMT"); -- cgit v1.2.1