From nobody Tue Dec 14 01:20:53 2021 X-Original-To: dev-commits-src-all@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 6441F18D73A3; Tue, 14 Dec 2021 01:20:54 +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 4JCgYd4kthz4rC8; Tue, 14 Dec 2021 01:20:53 +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 6A6061F29F; Tue, 14 Dec 2021 01:20:53 +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 1BE1Kr4S060683; Tue, 14 Dec 2021 01:20:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BE1KrF8060682; Tue, 14 Dec 2021 01:20:53 GMT (envelope-from git) Date: Tue, 14 Dec 2021 01:20:53 GMT Message-Id: <202112140120.1BE1KrF8060682@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Cy Schubert Subject: git: e5174c89290c - stable/13 - ipft_hx: remove set-but-not-unused vars List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/13 X-Git-Reftype: branch X-Git-Commit: e5174c89290cd4b7ba61fab29e9dfe70f2db314b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639444853; 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=0ESvaPAffGFTrgrPfOaEUqran1rJt+2xmKd2dclsIrY=; b=btHIJ9ax6Drvz81m5y58pgVRbjZKP/tcuiOkBI0GyDFacVL3VVp+oeuCMmzeNIjZk4OoOF hCsNBel6YQv4cb0HyGpiTgrTj7wg6r6xyZNbtYg5sXF61LwQNbjsAmW2SS7G8mWQA298Kp dn8UdQfDpMj5x9ikx65tRCJQ55Cl7lxE2HdZJ/1IFiEgTNlpTGphqE9xyu51VWyAYv1PQ5 l3CMVG22r6Q1QeSOHg7i5+Va+e9t3rRfCRGuXzTnjTKrLoghH20NcsDtzJJSbUYulN4fUd GRSMXZfNY2SjNeUwydLNY2puYVcht4XZuJO+e/0TfnlnCRWqh4DE06oRkCENdg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639444853; a=rsa-sha256; cv=none; b=aCpXb6dBiomdKlSyjX1dsgyaqJr1nbezjNVDQaJzQCn89yAV31GnWlEgPFjTL1bXnzxZZJ 1tzPP/5iLYEcoCpQ21zaySoZu7z4rAgu3uAic31VwThGw8wf1RZjxLRBJJGm0RXIReo89s P3/ZzG1rqbOJfMa8d7Pcj1sUCnRT+6B8JoslOLpw0M9lUAMhvaL+X2fr5aKKswr/j/OOS5 8ayIMFqR2ELl9AqobmFVVfTD6mUR+kFH4SRaVH3ILPLfWHDGcNxNiSGbzjFKXKiDiuN+6F 1PHpd7CQaLDcdEZldO9Pdd86RDMne2woBYV+YuhsjcOm7jMGRB1K8/h3oZVOaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=e5174c89290cd4b7ba61fab29e9dfe70f2db314b commit e5174c89290cd4b7ba61fab29e9dfe70f2db314b Author: Cy Schubert AuthorDate: 2021-12-11 04:46:11 +0000 Commit: Cy Schubert CommitDate: 2021-12-14 01:12:32 +0000 ipft_hx: remove set-but-not-unused vars (cherry picked from commit ece1946c1fbd8d42d621fd59028488a3e71aae65) --- 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]".