From owner-dev-commits-src-all@freebsd.org Sat Jan 2 15:49:35 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EB2754D43FA; Sat, 2 Jan 2021 15:49:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D7RCg6KTSz4Y4F; Sat, 2 Jan 2021 15:49:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CC24417C43; Sat, 2 Jan 2021 15:49:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 102FnZ3R038506; Sat, 2 Jan 2021 15:49:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 102FnZQU038505; Sat, 2 Jan 2021 15:49:35 GMT (envelope-from git) Date: Sat, 2 Jan 2021 15:49:35 GMT Message-Id: <202101021549.102FnZQU038505@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Yoshihiro Takahashi Subject: git: 8c45fe5d8ecd - main - bootparamd: Add missing __unused mark. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nyan X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8c45fe5d8ecda4be7564aadaa50712790c6c0a6f Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2021 15:49:36 -0000 The branch main has been updated by nyan: URL: https://cgit.FreeBSD.org/src/commit/?id=8c45fe5d8ecda4be7564aadaa50712790c6c0a6f commit 8c45fe5d8ecda4be7564aadaa50712790c6c0a6f Author: Yoshihiro Takahashi AuthorDate: 2021-01-02 15:40:34 +0000 Commit: Yoshihiro Takahashi CommitDate: 2021-01-02 15:40:34 +0000 bootparamd: Add missing __unused mark. e03764d931d820185a019334259b18df2e3f6b6c did not catch all unused variables. Submitted by: otis MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D27894 --- usr.sbin/bootparamd/bootparamd/bootparamd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bootparamd/bootparamd/bootparamd.c b/usr.sbin/bootparamd/bootparamd/bootparamd.c index 7cc57d2427a4..be885de62f55 100644 --- a/usr.sbin/bootparamd/bootparamd/bootparamd.c +++ b/usr.sbin/bootparamd/bootparamd/bootparamd.c @@ -179,7 +179,7 @@ bootparamproc_getfile_1_svc(bp_getfile_arg *getfile, struct svc_req *req __unuse empty answer for the file "dump") */ static int -getthefile(char *l_askname, char *fileid, char *buf, int blen) +getthefile(char *l_askname, char *fileid, char *buf, int blen __unused) { FILE *bpf; char *where; @@ -285,7 +285,7 @@ getthefile(char *l_askname, char *fileid, char *buf, int blen) name for a host in the database */ static int -checkhost(char *l_askname, char *l_hostname, int len) +checkhost(char *l_askname, char *l_hostname, int len __unused) { int ch, pch; FILE *bpf;