* diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.

From-SVN: r94671
This commit is contained in:
Marcin Dalecki 2005-02-06 11:56:46 +01:00 committed by Richard Sandiford
parent c1105188df
commit cbd13f8a73
2 changed files with 5 additions and 1 deletions

View 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> 2005-02-06 Geoffrey Keating <geoffk@apple.com>
* config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs. * config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.

View File

@ -300,7 +300,7 @@ default_diagnostic_starter (diagnostic_context *context,
static void static void
default_diagnostic_finalizer (diagnostic_context *context, default_diagnostic_finalizer (diagnostic_context *context,
diagnostic_info *diagnostic __attribute__((unused))) diagnostic_info *diagnostic ATTRIBUTE_UNUSED)
{ {
pp_destroy_prefix (context->printer); pp_destroy_prefix (context->printer);
} }