From nobody Tue Dec 14 01:20:56 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 2F9C118D76CD; Tue, 14 Dec 2021 01:20:58 +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 4JCgYj25xfz4rJ9; Tue, 14 Dec 2021 01:20:57 +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 C4B1D1EECA; Tue, 14 Dec 2021 01:20:56 +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 1BE1Ku7i060762; Tue, 14 Dec 2021 01:20:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BE1KuPh060761; Tue, 14 Dec 2021 01:20:56 GMT (envelope-from git) Date: Tue, 14 Dec 2021 01:20:56 GMT Message-Id: <202112140120.1BE1KuPh060761@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: e34975c5c60a - stable/13 - ipft_tx: 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: e34975c5c60a05920f26043cace72a262e7c19be Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639444857; 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=IbMx9S+Pfpjh8/IVq5bjA3aJRwEc3TCwMBdnvFgpAB8=; b=A91Jo2O3mNaYg9IZaW5hHj7PJOyC3RymCBNFogbQuiMQKwODIyabkXwKvhTQRdS0UinJfV /3lLe+96vlEyUZUHUigDu7iUoCO5AW/xks3z1yftACvIWjJpySuqFb9WfIPqXEYWDCSRUu Qs4nmh061JBFZP3Ju1foC8p5R8UqH2OjFatjzJLOv8TUrrJMzrqrII5yabkQCaJQSDh0F0 UZNoCVCQSIIMm0B3n/1LUVwfizldbXnvNTGU4uaqgHIebMc7k48ya2biDoT8uI9FizsC90 20NENI/vIeN4NYjqvuhGU3opY0EEs3s/MckfxeVjCckCbtRpGZWPQ6w6Yk6TVg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639444857; a=rsa-sha256; cv=none; b=i4TQVNDsqCyNIrSiHj07qhMTEn/eu1voJGa0yxORxKQCvyPayUUgbhB9LI74SYvS6+fiqJ 8fQPIBAHxUVGv4hefBp9GH2Cdx7mR0Btqrg2JkZm+nYD8jrVE3DHvU3vTyDL8OgiNoYSmu QXU5e2tYX4UhNDvsJXQ8GoVYP+neqgNOv2KrPsD+u87RZYLBy9AieeUpJF2/T9+C35xMwR yp5etwMGhBlXydYzYJrQEwzXfeGbysHifLhLCigPd/InDfdF6j7dTPmjsOuqzSUAErtVoW U8aFSmpNateHmgUbW/uudTV6ezEwUx0GntUdAFKAVI2YvD3e3uFgph5OHLx0fA== 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=e34975c5c60a05920f26043cace72a262e7c19be commit e34975c5c60a05920f26043cace72a262e7c19be Author: Cy Schubert AuthorDate: 2021-12-11 04:49:22 +0000 Commit: Cy Schubert CommitDate: 2021-12-14 01:13:17 +0000 ipft_tx: remove set-but-not-unused vars (cherry picked from commit 9018f7fa45c0bc66cfdd4496e695218be3d37a33) --- contrib/ipfilter/lib/ipft_tx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/contrib/ipfilter/lib/ipft_tx.c b/contrib/ipfilter/lib/ipft_tx.c index 49d7cb2b8c5c..3499afedf854 100644 --- a/contrib/ipfilter/lib/ipft_tx.c +++ b/contrib/ipfilter/lib/ipft_tx.c @@ -122,10 +122,8 @@ static int text_readip(mb, ifn, dir) char line[513]; ip_t *ip; char *buf; - int cnt; buf = (char *)mb->mb_buf; - cnt = sizeof(mb->mb_buf); *ifn = NULL; while (fgets(line, sizeof(line)-1, tfp)) {