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

2538:    (X)=pop_unfinished_type(); \   } while(0)    - static void cleanup_new_program_decode (void *ignored) + static void cleanup_new_program_decode (void *UNUSED(ignored))   {    debug_malloc_touch(Pike_compiler->new_program);    debug_malloc_touch(Pike_compiler->new_program->parent);
4848:   static struct decode_data *current_decode = NULL;      static void free_decode_data (struct decode_data *data, int delay, -  int free_after_error) +  int DEBUGUSED(free_after_error))   {   #ifdef PIKE_DEBUG    int e;