From nobody Tue Dec 14 01:22:09 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 8155A18D9352; Tue, 14 Dec 2021 01:22:11 +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 4JCgb564l4z4sDL; Tue, 14 Dec 2021 01:22:09 +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 29D501F221; Tue, 14 Dec 2021 01:22: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 1BE1M9qo065047; Tue, 14 Dec 2021 01:22:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BE1M9VI065046; Tue, 14 Dec 2021 01:22:09 GMT (envelope-from git) Date: Tue, 14 Dec 2021 01:22:09 GMT Message-Id: <202112140122.1BE1M9VI065046@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: 665b1d553afb - stable/12 - 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/12 X-Git-Reftype: branch X-Git-Commit: 665b1d553afb6cc45a9fc791f7360c297de34d1e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639444930; 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=O7iriYOhrThOKpDP4zKaDGMfH420EN7Lcow1Xbon1CU=; b=gWSkSb5miNdit/lcOvShkriLI10XytPA78KakbfC3aZLONJuNVqLtv91oYcGrMgfJDXUmu ndIE99T7srIl97uQH5RbT6rXD2XHuJ6VE7Q5BiLBore3bPC7nNj4bq19AlTUXbO9h/mAqn qzoxmqpWxklGVbAFobAv59i+Utmh433aIvyy4immnFXfijzmKXu3NOcdOLQXEwE44R7YVB zY5DKbT9eohO0AjOOgm13+vYmxDr0i3UE0X3b5P9VCZFP3uOgoMannPHUL5zdYF81NQIxi yseSY/ot/HNG7t12djrwljzDhTye2jb6iVkClevN6IAyZMNCtF6VscubXQ2uDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639444930; a=rsa-sha256; cv=none; b=FCW81kMLCysQIb3+byDDg/g2vYn66IP7lTDWhG17Bbbihtvc+LQYUtdjTxFGTDdATPTPpf dbozKWbOxWim6+tOvc7S5GHheS0pw0ObYzyrNGKGbVaw9BUCuxCiFHOviA72BTOsUW9QA1 h5omVQ3cdHT0zIO9jHyRlqzIORNao2G0LJlQuVoERNXxE5z66FuCwCNMfj4zBNMVJ/ExE4 76nA+sQpAQBR4YRrHTopUdMollkaf/fyRM0llW4pdMJhHulbOP967lxL06yjm345tXxLzs DYSKZvLpWBT6BteIsFUTZmcHJh2nP2wjYTCm+PWJJaQxj4Pp4hxSCszKFgmMIw== 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=665b1d553afb6cc45a9fc791f7360c297de34d1e commit 665b1d553afb6cc45a9fc791f7360c297de34d1e Author: Cy Schubert AuthorDate: 2021-12-11 04:49:22 +0000 Commit: Cy Schubert CommitDate: 2021-12-14 01:19:12 +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)) {