Branch: Tag:


2012-12-30 15:37:27 by 0

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

382:   #define CAST_TO_FUN(X) ((modfun)X)   #endif /* NO_CAST_TO_FUN */    - static void cleanup_compilation(void *ignored) + static void cleanup_compilation(void *UNUSED(ignored))   {    struct program *p = end_program();    if (p) {