diff options
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/index.c b/src/index.c index 2476a9c..405bc19 100644 --- a/src/index.c +++ b/src/index.c @@ -171,10 +171,9 @@ static void index_add(t_index *x, t_symbol *s, t_float f) outlet_float(x->x_obj.ob_outlet, -1.f); } /* delete a symbol from the map (if it is in there) */ -static void index_delete(t_index *x, t_symbol *s, int argc, t_atom*argv) +static void index_delete(t_index *x, t_symbol* UNUSED(s), int argc, t_atom*argv) { int idx=-1; - ZEXY_USEVAR(s); if(argc!=1){ error("index :: delete what ?"); return; @@ -288,15 +287,13 @@ static void index_resize(t_index *x, t_float automod) -static void *index_new(t_symbol *s, int argc, t_atom *argv) +static void *index_new(t_symbol* UNUSED(s), int argc, t_atom *argv) { t_index *x = (t_index *)pd_new(index_class); t_symbol** buf; int maxentries = 0, automod=0; - ZEXY_USEVAR(s); - if (argc--) { maxentries = (int)atom_getfloat(argv++); if (argc) automod = (int)atom_getfloat(argv++); |