aboutsummaryrefslogtreecommitdiff
path: root/src/makesymbol.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/makesymbol.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/makesymbol.c')
-rw-r--r--src/makesymbol.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/makesymbol.c b/src/makesymbol.c
index 80f0d6e..f0342d8 100644
--- a/src/makesymbol.c
+++ b/src/makesymbol.c
@@ -91,9 +91,8 @@ static t_symbol* list2symbol(char *masque, int argc, t_atom *argv)
return (gensym(buffer));
}
-static void makesymbol_list(t_makesymbol *x, t_symbol *s, int argc, t_atom *argv)
+static void makesymbol_list(t_makesymbol *x, t_symbol* UNUSED(s), int argc, t_atom *argv)
{
- ZEXY_USEVAR(s);
x->x_sym = list2symbol(x->mask, argc, argv);
outlet_symbol(x->x_obj.ob_outlet, x->x_sym);
}
@@ -104,10 +103,9 @@ static void makesymbol_bang(t_makesymbol *x)
}
-static void *makesymbol_new(t_symbol *s, int argc, t_atom *argv)
+static void *makesymbol_new(t_symbol* UNUSED(s), int argc, t_atom *argv)
{
t_makesymbol *x = (t_makesymbol *)pd_new(makesymbol_class);
- ZEXY_USEVAR(s);
x->buf = (char *)getbytes(MAXSTRINGLENG * sizeof(char));
@@ -133,9 +131,8 @@ static void makesymbol_free(t_makesymbol *x)
}
-static void makesymbol_helper(t_makesymbol *x)
+static void makesymbol_helper(t_makesymbol* UNUSED(x))
{
- ZEXY_USEVAR(x);
post("\n"HEARTSYMBOL" makesymbol :: create a formatted symbol");
post("<list of anything>\t: glue up to 10 list-elements to 1 formatted symbol\n"
"'bang'\t\t\t: re-output\n"