Branch: Tag:

2012-12-30

2012-12-30 15:37:27 by Jonas Walldén <jonasw@roxen.com>

Wrap unused parameters in UNUSED(), and debug-only parameters in DEBUGUSED(), to cut
down on compiler warnings. The macro also renames parameters to catch accidental use.
(There are more places to clean up but I don't want to modify code that isn't compiling
on my machine.)

5225:    int yes;   };    - static void check_evaluation_time(struct callback *cb,void *tmp,void *ignored) + static void check_evaluation_time(struct callback *UNUSED(cb), void *tmp, void *UNUSED(ignored))   {    struct timer_oflo *foo=(struct timer_oflo *)tmp;    if(foo->counter-- < 0)