Branch: Tag:

2014-08-22

2014-08-22 16:00:14 by Arne Goedeke <el@laramies.com>

Fixed some warnings about unused parameters

994:   #endif   }    + #ifdef GC_STACK_DEBUG   static void describe_link_frame (struct link_frame *f)   {    fprintf (stderr, "data=%p prev=%p checkfn=%p weak=%d",    f->data, f->prev, f->checkfn, f->weak);   } -  + #endif      static void describe_marker(struct marker *m)   {
1105: Inside #if defined(PIKE_DEBUG)
   va_end (args);   }    - static void gdb_gc_stop_here(void *a, int weak) + static void gdb_gc_stop_here(void *UNUSED(a), int weak)   {    found_ref_count++;    fprintf(stderr,"***One %sref found%s. ",
4709:    return m;   }    - #if defined (PIKE_DEBUG) || defined (MEMORY_COUNT_DEBUG) + #ifdef MEMORY_COUNT_DEBUG   static void describe_mc_marker (struct mc_marker *m)   {    fprintf (stderr, "%s %p: refs %d, int %d, la %d, cnt %d",
5288:    }   }    - static void ignore_visit_enter(void *thing, int type, void *extra) + static void ignore_visit_enter(void *UNUSED(thing), int UNUSED(type), void *UNUSED(extra))   {   }    - static void ignore_visit_leave(void *thing, int type, void *extra) + static void ignore_visit_leave(void *UNUSED(thing), int UNUSED(type), void *UNUSED(extra))   {   }   
6057:      static struct mapping *identify_loop_reverse = NULL;    - void identify_loop_visit_enter(void *thing, int type, void *extra) + void identify_loop_visit_enter(void *thing, int type, void *UNUSED(extra))   {    if (type < T_VOID) {    /* Valid svalue type. */
6067:    }   }    - void identify_loop_visit_ref(void *dst, int ref_type, + void identify_loop_visit_ref(void *dst, int UNUSED(ref_type),    visit_thing_fn *visit_dst,    void *extra)   {
6098:    }   }    - void identify_loop_visit_leave(void *thing, int type, void *extra) + void identify_loop_visit_leave(void *UNUSED(thing), int type, void *UNUSED(extra))   {    if (type < T_VOID) {    /* Valid svalue type. */