From 1b67b9b68a88c3c365caa24f4edd415726948734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 3 Jan 2008 12:11:24 +0000 Subject: run with "-pedantic" and "-std=c99": removed warnings svn path=/trunk/externals/zexy/; revision=9113 --- src/listfind.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/listfind.c') 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; ia_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)); -- cgit v1.2.1