From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1474) id 8DF8A3858024; Tue, 6 Sep 2022 11:08:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DF8A3858024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662462497; bh=G3CD9tqvQFoGdv/6JpAo1HhbXnPtO+ferG1xbkpah5k=; h=From:To:Subject:Date:From; b=C92F3XShrEvp27MqDxF0ZY2RY3JkyN1rMQWvM6XW/KXZn+hf2nBDtPHz57TqNc/gc pVZ7QZPK2VegJwAvfPJBu7TfM7/sFCVFgdbFkESMEhaeJfVNffgmfv6nwU7RQPuif8 4Z9lUNZ3OKbClWPe9j26QgHXfveCxmId8HFmVKzY= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jan-Benedict Glaw To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-2495] Document unused function argument X-Act-Checkin: gcc X-Git-Author: Jan-Benedict Glaw X-Git-Refname: refs/heads/master X-Git-Oldrev: e55674b86a10e695cea2f45c0472402b97cc2dfb X-Git-Newrev: 26ea6ca1fc76752875e74edd628bc3066c642a29 Message-Id: <20220906110817.8DF8A3858024@sourceware.org> Date: Tue, 6 Sep 2022 11:08:17 +0000 (GMT) List-Id: https://gcc.gnu.org/g:26ea6ca1fc76752875e74edd628bc3066c642a29 commit r13-2495-g26ea6ca1fc76752875e74edd628bc3066c642a29 Author: Jan-Benedict Glaw Date: Tue Sep 6 13:05:21 2022 +0200 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. Diff: --- 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 7a378ceac56..6c15780a2b6 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;