From b614183d637d97b51c82f700039152a1166c6077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 23 Jan 2006 17:56:42 +0000 Subject: cleaned up code so we get hardly any warnings when compiling with "-Wall" svn path=/trunk/externals/zexy/; revision=4473 --- src/index.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/index.c') diff --git a/src/index.c b/src/index.c index 1e8c5dc..15d3a2b 100644 --- a/src/index.c +++ b/src/index.c @@ -125,7 +125,6 @@ static void index_float(t_index *x, t_float findex) static void index_add(t_index *x, t_symbol *s, t_float f) { int newentry=(int)f; - int ok = 0; if (! (find_item(s, x->names, x->maxentries)+1) ) { if (x->auto_resize && (x->entries==x->maxentries || newentry>=x->maxentries)){ @@ -291,7 +290,6 @@ static void *index_new(t_symbol *s, int argc, t_atom *argv) t_symbol** buf; int maxentries = 0, automod=0; - int i; if (argc--) { maxentries = (int)atom_getfloat(argv++); -- cgit v1.2.1