Branch: Tag:

2012-12-30

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

194:    }   }    - static void init_font_struct(struct object *o) + static void init_font_struct(struct object *UNUSED(o))   {    THIS=NULL;   }    - static void exit_font_struct(struct object *obj) + static void exit_font_struct(struct object *UNUSED(obj))   {    free_font_struct(THIS);    THIS=NULL;