OSDN Git Service

* diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Feb 2005 10:56:46 +0000 (10:56 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Feb 2005 10:56:46 +0000 (10:56 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94671 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/diagnostic.c

index 35d8718..ac6651a 100644 (file)
@@ -1,3 +1,7 @@
+2005-02-06  Marcin Dalecki  <martin@dalecki.de>
+
+       * diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.
+
 2005-02-06  Geoffrey Keating  <geoffk@apple.com>
 
        * config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.
index c25c0ec..eb1037a 100644 (file)
@@ -300,7 +300,7 @@ default_diagnostic_starter (diagnostic_context *context,
 
 static void
 default_diagnostic_finalizer (diagnostic_context *context,
-                             diagnostic_info *diagnostic __attribute__((unused)))
+                             diagnostic_info *diagnostic ATTRIBUTE_UNUSED)
 {
   pp_destroy_prefix (context->printer);
 }