arm: Avoid unused parameter warning
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Sep 2020 08:11:53 +0000 (10:11 +0200)
committerJakub Jelinek <jakub@redhat.com>
Wed, 16 Sep 2020 08:13:19 +0000 (10:13 +0200)
2020-09-16  Jakub Jelinek  <jakub@redhat.com>

* config/arm/arm.c (arm_option_restore): Comment out opts argument
name to avoid unused parameter warnings.

gcc/config/arm/arm.c

index 7d9503c9f86a04773bec2ee38b478f3037be34cd..932f90794c813174a7f7548b8a09bbf3111cb6a0 100644 (file)
@@ -3039,8 +3039,8 @@ arm_override_options_after_change (void)
 
 /* Implement TARGET_OPTION_RESTORE.  */
 static void
-arm_option_restore (struct gcc_options *opts, struct gcc_options *opts_set,
-                   struct cl_target_option *ptr)
+arm_option_restore (struct gcc_options */* opts */,
+                   struct gcc_options *opts_set, struct cl_target_option *ptr)
 {
   arm_configure_build_target (&arm_active_target, ptr, opts_set, false);
 }