From: rguenth Date: Thu, 29 Apr 2010 14:10:39 +0000 (+0000) Subject: 2010-04-29 Richard Guenther X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08cfd855e6d06aeb592f1c0a6f331692c42624a3;p=thirdparty%2Fgcc.git 2010-04-29 Richard Guenther PR bootstrap/43935 * plugin.h (invoke_plugin_callbacks): Annotate arguments with ATTRIBUTE_UNUSED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158901 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce3bcbfba332..5daa045df5f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-04-29 Richard Guenther + + PR bootstrap/43935 + * plugin.h (invoke_plugin_callbacks): Annotate arguments + with ATTRIBUTE_UNUSED. + 2010-04-29 H.J. Lu PR target/43921 diff --git a/gcc/plugin.h b/gcc/plugin.h index 13628ec910b9..94663dd4a10c 100644 --- a/gcc/plugin.h +++ b/gcc/plugin.h @@ -44,7 +44,8 @@ extern void finalize_plugins (void); GCC_DATA - event-specific data provided by the compiler */ static inline int -invoke_plugin_callbacks (int event, void *gcc_data) +invoke_plugin_callbacks (int event ATTRIBUTE_UNUSED, + void *gcc_data ATTRIBUTE_UNUSED) { #ifdef ENABLE_PLUGIN /* True iff at least one plugin has been added. */