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

119:    }   }    - static void f_substring_get_int( INT32 args ) + static void f_substring_get_int( INT32 UNUSED(args) )   {    struct substring *s = SS(fp->current_object);    int res;
134:   }       - static void f_substring_get_uint( INT32 args ) + static void f_substring_get_uint( INT32 UNUSED(args) )   {    struct substring *s = SS(fp->current_object);    unsigned int res;
148:    push_int64( res );   }    - static void f_substring_get_ushort( INT32 args ) + static void f_substring_get_ushort( INT32 UNUSED(args) )   {    struct substring *s = SS(fp->current_object);    unsigned short res;
162:    push_int( res );   }    - static void f_substring_get_short( INT32 args ) + static void f_substring_get_short( INT32 UNUSED(args) )   {    struct substring *s = SS(fp->current_object);    short res;
189:    push_object( o );   }    - static void free_substring(struct object *o) + static void free_substring(struct object *UNUSED(o))   {    if( SS(fp->current_object)->s )    {