aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2013-06-03 16:07:32 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2013-06-03 16:07:32 +0000
commitfc89459187380d862daf249c95ed389e3fb6c0d3 (patch)
tree5dda59b117004068bba15c6c54d14046acced4b3 /src/index.c
parente7f62cc177e6e3eb2e78ac5c6d5164782054d8ad (diff)
declare unused parameters as such
rather than doing a dummy-usage svn path=/trunk/externals/zexy/; revision=17144
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c7
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++);