aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-04-05 11:27:26 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-04-05 11:27:26 +0000
commitcfc3bdbccea042a959bff9b255562cb92b863ca0 (patch)
treecf5c43d2ff430cdedc141e9c3c7957abde1c0af5 /src/index.c
parent5b126d345c2a13c1fc58e47ff906099fd416c743 (diff)
use unused variables
svn path=/trunk/externals/zexy/; revision=4815
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index.c b/src/index.c
index 33e40e6..f3a8fb6 100644
--- a/src/index.c
+++ b/src/index.c
@@ -170,6 +170,7 @@ static void index_add(t_index *x, t_symbol *s, t_float f)
static void index_delete(t_index *x, t_symbol *s, int argc, t_atom*argv)
{
int index=-1;
+ ZEXY_USEVAR(s);
if(argc!=1){
error("index :: delete what ?");
return;
@@ -291,6 +292,8 @@ static void *index_new(t_symbol *s, int argc, t_atom *argv)
int maxentries = 0, automod=0;
+ ZEXY_USEVAR(s);
+
if (argc--) {
maxentries = (int)atom_getfloat(argv++);
if (argc) automod = (int)atom_getfloat(argv++);
@@ -322,6 +325,7 @@ static void index_free(t_index *x)
static void index_helper(t_index *x)
{
+ ZEXY_USEVAR(x);
post("\n%c index :: index symbols to indices", HEARTSYMBOL);
post("<symbol> : look up the <symbol> in the index and return it's index\n"
"\n<int> : look up the element at index <int> in the index"