OSDN Git Service

2010-04-29 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Apr 2010 14:10:39 +0000 (14:10 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:37:04 +0000 (14:37 +0900)
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

gcc/ChangeLog
gcc/plugin.h

index ce3bcbf..5daa045 100644 (file)
@@ -1,3 +1,9 @@
+2010-04-29  Richard Guenther  <rguenther@suse.de>
+
+       PR bootstrap/43935
+       * plugin.h (invoke_plugin_callbacks): Annotate arguments
+       with ATTRIBUTE_UNUSED.
+
 2010-04-29  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/43921
index 13628ec..94663dd 100644 (file)
@@ -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.  */