Re: [PATCH 3/3] Fix compile-time warnings.

2013-02-04 Thread Kamil Dudka
On Sunday 03 February 2013 23:07:42 Kamil Dudka wrote: > diff --git a/find/exec.c b/find/exec.c > index aa69fe3..f731d82 100644 > --- a/find/exec.c > +++ b/find/exec.c > @@ -324,7 +324,7 @@ launch (struct buildcmd_control *ctl, void > *usercontext, int argc, char **argv) } > } > > - if

[PATCH 3/3] Fix compile-time warnings.

2013-02-03 Thread Kamil Dudka
* find/defs.h (struct predicate): Add a missing const modifier. * find/exec.c (launch): Add explicit type-cast. * find/find.c (wd_sanity_check): Suppress a warning in #else branch. (process_dir): Remove an unused variables and statements. * find/pred.c (pred_context): Use const modifier in the prot