diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5549bc1124a..49e615102a0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-12-30 Andreas Jaeger + + * unwind-dw2-fde.h (last_fde): Add unused attribute for obj. + 2002-12-30 Kazu Hirata * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New. diff --git a/gcc/unwind-dw2-fde.h b/gcc/unwind-dw2-fde.h index b7d96cfe992..58e44145318 100644 --- a/gcc/unwind-dw2-fde.h +++ b/gcc/unwind-dw2-fde.h @@ -166,7 +166,7 @@ next_fde (fde *f) extern fde * _Unwind_Find_FDE (void *, struct dwarf_eh_bases *); static inline int -last_fde (struct object *obj, fde *f) +last_fde (struct object *obj ATTRIBUTE_UNUSED, fde *f) { #ifdef DWARF2_OBJECT_END_PTR_EXTENSION return (char *)f == obj->fde_end || f->length == 0;