diff options
Diffstat (limited to 'src/0x2e.c')
-rw-r--r-- | src/0x2e.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -35,10 +35,9 @@ typedef struct _scalmul } t_scalmul; -static void scalmul_lst2(t_scalmul *x, t_symbol *s, int argc, t_atom *argv) +static void scalmul_lst2(t_scalmul *x, t_symbol *UNUSED(s), int argc, t_atom *argv) { t_float *fp; - ZEXY_USEVAR(s); if (x->n2 != argc) { freebytes(x->buf2, x->n2 * sizeof(t_float)); x->n2 = argc; @@ -48,12 +47,11 @@ static void scalmul_lst2(t_scalmul *x, t_symbol *s, int argc, t_atom *argv) while(argc--)*fp++=atom_getfloat(argv++); } -static void scalmul_lst(t_scalmul *x, t_symbol *s, int argc, t_atom *argv) +static void scalmul_lst(t_scalmul *x, t_symbol* UNUSED(s), int argc, t_atom *argv) { t_float *fp; t_atom *ap; int n; - ZEXY_USEVAR(s); if (argc){ if (x->n1 != argc) { @@ -120,10 +118,9 @@ static void scalmul_free(t_scalmul *x) freebytes(x->buf2, sizeof(t_float)*x->n2); } -static void *scalmul_new(t_symbol *s, int argc, t_atom *argv) +static void *scalmul_new(t_symbol* UNUSED(s), int argc, t_atom *argv) { t_scalmul *x; - ZEXY_USEVAR(s); if (argc-1){ x = (t_scalmul *)pd_new(scalmul_class); inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("list"), gensym("")); |