Branch: Tag:


2012-12-30 15:37:27 by Jonas Walldén <>

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.)

271:    current_stack_depth -= x;   }    - static void do_pop_mark(void *ignored) + static void do_pop_mark(void *UNUSED(ignored))   {    struct compilation *c = THIS_COMPILATION;    emit0(F_POP_MARK);   }    - static void do_pop_to_mark(void *ignored) + static void do_pop_to_mark(void *UNUSED(ignored))   {    struct compilation *c = THIS_COMPILATION;    emit0(F_POP_TO_MARK);