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/msgfile.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/msgfile.c')
-rw-r--r-- | src/msgfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/msgfile.c b/src/msgfile.c index 770294b..164466c 100644 --- a/src/msgfile.c +++ b/src/msgfile.c @@ -425,7 +425,6 @@ static int atomcmp(t_atom *this, t_atom *that) static void msgfile_find(t_msgfile *x, t_symbol *s, int ac, t_atom *av) { - int searching = 1; t_msglist *found = 0; t_msglist *cur=x->current; @@ -532,7 +531,7 @@ static void msgfile_read(t_msgfile *x, t_symbol *filename, t_symbol *format) if ((fd = open_via_path(dirname, filename->s_name, "", buf, &bufptr, MAXPDSTRING, 0)) < 0) { - if(fd=open(filename->s_name, rmode) < 0) { + if((fd=open(filename->s_name, rmode)) < 0) { error("%s: can't open in %s", filename->s_name, dirname); return; } |