diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2013-06-03 16:07:32 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2013-06-03 16:07:32 +0000 |
commit | fc89459187380d862daf249c95ed389e3fb6c0d3 (patch) | |
tree | 5dda59b117004068bba15c6c54d14046acced4b3 /src/time.c | |
parent | e7f62cc177e6e3eb2e78ac5c6d5164782054d8ad (diff) |
declare unused parameters as such
rather than doing a dummy-usage
svn path=/trunk/externals/zexy/; revision=17144
Diffstat (limited to 'src/time.c')
-rw-r--r-- | src/time.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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"); |