From nobody Tue Dec 14 01:22:05 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 DAAAA18D92B0; Tue, 14 Dec 2021 01:22:06 +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 4JCgb16CN5z4sLh; Tue, 14 Dec 2021 01:22:05 +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 B10451F150; Tue, 14 Dec 2021 01:22:05 +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 1BE1M5o5064975; Tue, 14 Dec 2021 01:22:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BE1M5o8064974; Tue, 14 Dec 2021 01:22:05 GMT (envelope-from git) Date: Tue, 14 Dec 2021 01:22:05 GMT Message-Id: <202112140122.1BE1M5o8064974@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: 7d4369a1e723 - stable/12 - 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/12 X-Git-Reftype: branch X-Git-Commit: 7d4369a1e72375235ca7bd75b4e0b24d20e5b190 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639444925; 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=WvA/yPcUaZKrRPq2YaLKfAi6n78Lps0NgiF0MJ55Aj4=; b=qwEIYyRY7QGgUIqz4UmgrQ66rwiPlv/3fLGZgbwQ88g6q3/vUb6gREGXO+1fPrfsuBVXCM DmHcoKSD7G8tV/5MYZm4ZrAFFS7zUKKmosM/SCVmuM/cK+VyJhrb/IXLEPMIa9PLjI+sHL tXPGzZBrexvfS2czn9P0hrWmMwGDumnOsdaxG/w4hPFJCwIr7+A/BS9E1NlBPa+Foqcxuc yI5PgGFMk+sFT/c+0y2EdBIX3R67879Jbu07xb1mpT/7CJ1+twMX2ehnfRpkCVmmIZqYF1 0++tjACHTynG52RgHL6O/Tfy0OEHYds0CJBSkjLe9JZYSOsmCzY5pzjIbzc/DQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639444925; a=rsa-sha256; cv=none; b=Ch4q5ul7to51JkTd9K4ya2+fvoVxOjrKTCQMwX1ucfzMTipQVWnw950LFdZRPDJs+hIegs FVlrayxA2huXiHV3WXvuaUM7vQ7drxYDVQijD2lydWsvv7Yv7W3eI+z6ByBG10M76snY7t QCl7jTDVqeo3Zik0CxQBIbzWiDEC6V3R2VHLVyBdHVIHChSK5zHW4fECESi/B/AY6q9qOx 7PWgBFXqROm1X6hyP0gd2jUUBaeP4nBn8veg0AZYJj6iq0gDXAvCRbWRLemsuRrxFdUnCz l/t2B8OznNDAL0FRzSXsZNlNU1KGtPxPujUnez1teDmkY9UpSCjw14TapsxaUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=7d4369a1e72375235ca7bd75b4e0b24d20e5b190 commit 7d4369a1e72375235ca7bd75b4e0b24d20e5b190 Author: Cy Schubert AuthorDate: 2021-12-11 04:46:11 +0000 Commit: Cy Schubert CommitDate: 2021-12-14 01:18:37 +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]".