seh_init.c (__gnat_SEH_error_handler): Mark third and fourth parameters as unused.
authorDanny Smith <dannysmith@users.sourceforge.net>
Sun, 27 Feb 2005 01:12:13 +0000 (01:12 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Sun, 27 Feb 2005 01:12:13 +0000 (01:12 +0000)
* seh_init.c (__gnat_SEH_error_handler): Mark third and fourth
parameters as unused.

From-SVN: r95604

gcc/ada/ChangeLog
gcc/ada/seh_init.c

index 27e172f75719ed5b1130646791a940440d250807..722c3b91bd7ad36bf4ef8467cb315715a50ac575 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-27  Danny Smith  <dannysmith@users.sourceforge.net>    
+
+       * seh_init.c (__gnat_SEH_error_handler): Mark third and fourth 
+       parameters as unused.
+
 2005-02-26  Nathanael Nerode  <neroden@gcc.gnu.org>
        Partial merge from libada-gnattools-branch:
 
index cf1ada8a497a20d3178f9c3fd9701ba36a252b2b..15cda4fdbf457f2fa87773cd83355b2be6c23af3 100644 (file)
@@ -74,8 +74,8 @@ EXCEPTION_DISPOSITION __gnat_SEH_error_handler
 EXCEPTION_DISPOSITION
 __gnat_SEH_error_handler (struct _EXCEPTION_RECORD* ExceptionRecord,
                          void *EstablisherFrame,
-                         struct _CONTEXT* ContextRecord,
-                         void *DispatcherContext)
+                         struct _CONTEXT* ContextRecord ATTRIBUTE_UNUSED,
+                         void *DispatcherContext ATTRIBUTE_UNUSED)
 {
   struct Exception_Data *exception;
   const char *msg;