]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Apr 2010 14:10:39 +0000 (14:10 +0000)
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 ce3bcbfba332c7ccb872d430112259ab64406265..5daa045df5f876bb7f38e94e5855c29420d6f014 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 13628ec910b9e154f3bcfd93b9a34b3977bfe860..94663dd4a10c53fd2ec05251a6e50d4967fa7509 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.  */