From nobody Sat Dec 11 05:53:09 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 653F218E76C8; Sat, 11 Dec 2021 05:53:10 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J9xlB0syjz4ttd; Sat, 11 Dec 2021 05:53:10 +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 F1C2D935; Sat, 11 Dec 2021 05:53:09 +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 1BB5r97v059172; Sat, 11 Dec 2021 05:53:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BB5r90n059171; Sat, 11 Dec 2021 05:53:09 GMT (envelope-from git) Date: Sat, 11 Dec 2021 05:53:09 GMT Message-Id: <202112110553.1BB5r90n059171@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: ece1946c1fbd - main - ipft_hx: remove set-but-not-unused vars List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ece1946c1fbd8d42d621fd59028488a3e71aae65 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639201990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iXClsASDNCa4eAuhRO11ff4UcU3D/0mPAySw1x2PJ9Y=; b=x2ODaQ5JfN8UT+twXO+65oVit1M3gBbh8X7ZCK17g9v5NhzMgKRi6h2wQzLPGgMEpA/mEM n1josUB3W0aTy3jq3VU0A5625l+SjtTSTIPGUImhEjAJPfGa5hI5KkU1evVIqZ07bAFDvm sm5TXnnbtGFn6t6WulthXUrvnr1d/6mDB8v5soCk3DQzaNMYkNmLxU1cYkg2j7oeaR/yoV N0xbQPRhPifRmjI/ngW59xcMoIip9CMBVZxUUYTO4QwF/6HB4oWtBzPamuhAvNngB8241u wboA+5MwfyFVpbM1YUT1B0DN92coyL+OLUGognTqEo49EEynjlGkbfVkUgcFYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639201990; a=rsa-sha256; cv=none; b=J45Cm1UTNe+9HOeDgPELH2VXal9c9s9+B3567PqFaCSLylnrlt09e2itOYFP+kuNmtJfg2 LRs6tKjGK+3ot973U7SoTTwjmY7gy2glJgSTC+DWjUhs9sJh+qghxPfr62Ds7kQTWdqD0S RjrWdxcb07DB5QmMwfMnw2l4DRcFrej//gcRc+swj8vJE4LE26LOYcj7LGJ03l8me9vMmW CnjgugY912YsnqLRpF91MObgG+4GWp8Faj0gSJ7dOA17Vruq6GcGAl4b+SMN8dKX2duC5U J4b5uDlx3JGVcozQzgTdjVCLSVBJz5xHU0+vGV6IrwAvyCMsZzb2wgfdwro8FQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=ece1946c1fbd8d42d621fd59028488a3e71aae65 commit ece1946c1fbd8d42d621fd59028488a3e71aae65 Author: Cy Schubert AuthorDate: 2021-12-11 04:46:11 +0000 Commit: Cy Schubert CommitDate: 2021-12-11 05:52:53 +0000 ipft_hx: remove set-but-not-unused vars MFC after: 3 days --- contrib/ipfilter/lib/ipft_hx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/contrib/ipfilter/lib/ipft_hx.c b/contrib/ipfilter/lib/ipft_hx.c index 0165d0b092f7..e424c3929c79 100644 --- a/contrib/ipfilter/lib/ipft_hx.c +++ b/contrib/ipfilter/lib/ipft_hx.c @@ -65,10 +65,8 @@ static int hex_readip(mb, ifn, dir) char line[513]; ip_t *ip; char *buf; - int cnt; buf = (char *)mb->mb_buf; - cnt = sizeof(mb->mb_buf); /* * interpret start of line as possibly "[ifname]" or * "[in/out,ifname]".