From 26ea6ca1fc76752875e74edd628bc3066c642a29 Mon Sep 17 00:00:00 2001 From: Jan-Benedict Glaw Date: Tue, 6 Sep 2022 13:05:21 +0200 Subject: [PATCH] Document unused function argument This patch fixes a small warning about the unused outer_rtx argument in the msp430 backend. 2022-09-06 Jan-Benedict Glaw gcc/ChangeLog: * config/msp430/msp430.cc (msp430_single_op_cost): Document unused argument. --- gcc/config/msp430/msp430.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/msp430/msp430.cc b/gcc/config/msp430/msp430.cc index 7a378ceac567..6c15780a2b60 100644 --- a/gcc/config/msp430/msp430.cc +++ b/gcc/config/msp430/msp430.cc @@ -1460,7 +1460,7 @@ msp430_get_inner_dest_code (rtx x) /* Calculate the cost of an MSP430 single-operand instruction, for operand DST within the RTX OUTER_RTX, optimizing for speed if SPEED is true. */ static int -msp430_single_op_cost (rtx dst, bool speed, rtx outer_rtx) +msp430_single_op_cost (rtx dst, bool speed, rtx /* outer_rtx */) { enum rtx_code dst_code = GET_CODE (dst); const struct single_op_cost *cost_p; -- 2.47.2