From 3ba3c2e3a94caad351d460f49b1a592f87635f1c Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 16 Sep 2020 10:11:53 +0200 Subject: [PATCH] arm: Avoid unused parameter warning 2020-09-16 Jakub Jelinek * config/arm/arm.c (arm_option_restore): Comment out opts argument name to avoid unused parameter warnings. --- gcc/config/arm/arm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 7d9503c9f86..932f90794c8 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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); } -- 2.30.2