diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-01-23 17:56:42 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-01-23 17:56:42 +0000 |
commit | b614183d637d97b51c82f700039152a1166c6077 (patch) | |
tree | 3122e21bd818219c2613654d5c37849cef21cfdd /src/index.c | |
parent | c9e58457bb14a6441ed887e0604040994100408d (diff) |
cleaned up code so we get hardly any warnings when compiling with "-Wall"
svn path=/trunk/externals/zexy/; revision=4473
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 2 |
1 files changed, 0 insertions, 2 deletions
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++); |