This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]