summaryrefslogtreecommitdiff
path: root/gcc/plugin.h
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-29 14:10:39 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-29 14:10:39 +0000
commit08cfd855e6d06aeb592f1c0a6f331692c42624a3 (patch)
tree05c76527f3873016a909da223d2ee4a76c0e1381 /gcc/plugin.h
parentb61508f5a757dd08f392e9af3816c4a8e178e94c (diff)
downloadgcc-08cfd855e6d06aeb592f1c0a6f331692c42624a3.tar.gz
2010-04-29 Richard Guenther <rguenther@suse.de>
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
Diffstat (limited to 'gcc/plugin.h')
-rw-r--r--gcc/plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/plugin.h b/gcc/plugin.h
index 13628ec910b..94663dd4a10 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. */