This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR43935
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Apr 2010 16:09:56 +0200 (CEST)
- Subject: [PATCH] Fix PR43935
Committed as obvious.
Richard.
2010-04-29 Richard Guenther <rguenther@suse.de>
PR bootstrap/43935
* plugin.h (invoke_plugin_callbacks): Annotate arguments
with ATTRIBUTE_UNUSED.
Index: gcc/plugin.h
===================================================================
*** gcc/plugin.h (revision 158900)
--- gcc/plugin.h (working copy)
*************** extern void finalize_plugins (void);
*** 44,50 ****
GCC_DATA - event-specific data provided by the compiler */
static inline int
! invoke_plugin_callbacks (int event, void *gcc_data)
{
#ifdef ENABLE_PLUGIN
/* True iff at least one plugin has been added. */
--- 44,51 ----
GCC_DATA - event-specific data provided by the compiler */
static inline int
! invoke_plugin_callbacks (int event ATTRIBUTE_UNUSED,
! void *gcc_data ATTRIBUTE_UNUSED)
{
#ifdef ENABLE_PLUGIN
/* True iff at least one plugin has been added. */