aboutsummaryrefslogtreecommitdiff
path: root/src/listfind.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-01-03 12:11:24 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-01-03 12:11:24 +0000
commit1b67b9b68a88c3c365caa24f4edd415726948734 (patch)
treebf630dac330cfd0045af27744e61511813552fe0 /src/listfind.c
parentcecea45d580c99f052409a53e7c3007754e9f3f5 (diff)
run with "-pedantic" and "-std=c99": removed warnings
svn path=/trunk/externals/zexy/; revision=9113
Diffstat (limited to 'src/listfind.c')
-rw-r--r--src/listfind.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/listfind.c b/src/listfind.c
index 2bc3cf3..e362bc1 100644
--- a/src/listfind.c
+++ b/src/listfind.c
@@ -19,7 +19,9 @@
#include "zexy.h"
-//#define DEBUG
+#if 0
+# define DEBUG
+#endif
#ifdef DEBUG
# define DEBUGFUN(x) x
@@ -82,7 +84,7 @@ static int list_equals(int count, t_atom*a1, t_atom*a2) {
for(i=0; i<count; i++, a1++, a2++) {
if(a1->a_type!=a2->a_type)
return 0;
- if(a1->a_w.w_symbol!=a2->a_w.w_symbol) // is it that simple?
+ if(a1->a_w.w_symbol!=a2->a_w.w_symbol) /* is it that simple? */
return 0;
}
return 1;
@@ -124,7 +126,7 @@ static void listfind_doit(t_outlet*out, int longcount, t_atom*longlist, int patt
count++;
DEBUGFUN(post("new offset=%d", offset));
- offset++; // proceed to the next element
+ offset++; /* proceed to the next element */
}
DEBUGFUN(post("got %d results", count));