linux-unwind.h (frob_update_context): Mark `fs' parameter as unused to suppress a...
authorBen Elliston <bje@au.ibm.com>
Thu, 2 Mar 2006 04:43:44 +0000 (04:43 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Thu, 2 Mar 2006 04:43:44 +0000 (15:43 +1100)
* config/rs6000/linux-unwind.h (frob_update_context): Mark `fs'
parameter as unused to suppress a build warning.

From-SVN: r111635

gcc/ChangeLog
gcc/config/rs6000/linux-unwind.h

index 4dc6892c2183ffb7be7904d2a129f2b88731b538..d45c3a337742124ee90e00951cb213f754ef9a39 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-02  Ben Elliston  <bje@au.ibm.com>
+
+       * config/rs6000/linux-unwind.h (frob_update_context): Mark `fs'
+       parameter as unused to suppress a build warning.
+
 2006-03-02  Ben Elliston  <bje@au.ibm.com>
 
        * mklibgcc.in: Depend on config/dfp-bit.h in rules that compile
index d01e6b1fb329250d65244fefe578659f31a28c55..da3bc8e95b4fe99cb1bf8f703e888182ba499fec 100644 (file)
@@ -307,7 +307,7 @@ ppc_fallback_frame_state (struct _Unwind_Context *context,
 #define MD_FROB_UPDATE_CONTEXT frob_update_context
 
 static void
-frob_update_context (struct _Unwind_Context *context, _Unwind_FrameState *fs)
+frob_update_context (struct _Unwind_Context *context, _Unwind_FrameState *fs ATTRIBUTE_UNUSED)
 {
   const unsigned int *pc = (const unsigned int *) context->ra;