From nobody Fri May 13 17:52:31 2022 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 AFAA21AE7FA2; Fri, 13 May 2022 17:52:31 +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 4L0GSb4GgXz4WLS; Fri, 13 May 2022 17:52:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652464351; 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=1dtmgyMnMKL+ghedZoOMRZc2iC7jDl8lNo1HUBKF06Y=; b=gDkBdcPeTIvzPRPCghRY/a3XpUGxFB2bC/4xghxHSunVzYKGAMmYWsa9UP/q0TtdWVDiue E05iWZ1hFyHARrR8rbaU34JDZzbqVIiiDsETtRLpO+UsRVHJsly7XY02HOWng+HeqhTYxZ obR+u5w6ZV8DoHK7Evoa9IH0sJgjTwxi9iKT87tGwTUmypZh1VYNysOiH2ZCDipgfqUpF+ DAF+azof4OLbIK+rGGeSmn4gsmv4g7rkr2pUKZHjMum1ispGO8MqTzTVnyUNbvFFD97oqG NQtMw9JYGmwNFf8xoYAiTi/zxvv5yT6hqIVzgIbCJSNCHzAGGRLY1BPuDsBI1g== 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 7248527431; Fri, 13 May 2022 17:52:31 +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 24DHqVl3068801; Fri, 13 May 2022 17:52:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24DHqVD0068800; Fri, 13 May 2022 17:52:31 GMT (envelope-from git) Date: Fri, 13 May 2022 17:52:31 GMT Message-Id: <202205131752.24DHqVD0068800@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: d966efcc0807 - main - fusefs tests: Remove an unused variable. 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: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d966efcc08071380cf89c46a167d5193043b6752 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652464351; 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=1dtmgyMnMKL+ghedZoOMRZc2iC7jDl8lNo1HUBKF06Y=; b=v0fcftwsFUAO9XSix/AUq7QLps0pM+LB7BJFT/OUgHsBwahIp2UxHsQfChPLvZYKVqr4WG hTwC9F9KqRo2coCKaalHW2Jy64drKGbNotYnww/BUGrnd7g9GYAINtj/iRS/ojs+RNKpg8 MFFDyxn+3XCSEtwsACMMQkSxo6Rlng44o392KaS3gn3cr4rrBNobELsy4rtqXFQYA86W9A Wo97mDXgqNxrFZp9bb0DeXKf6scjlJ+gUUTqyQfaJKAbmse7KxiGuz6whE+j3wXxcCu2mz UFBj9Lqq+I5uWlOsm3IfLRF6FsM4YI9Ckl8fdr+ONZAFsRCBLMk9reiw9WfOjQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652464351; a=rsa-sha256; cv=none; b=uMDa36G043wvARz2QNIj1XV7F80Udo2PJvfmNdwCU5uUWf+xfSTNQyByhFwkIMo9x2thFG /9pkNBO2dpzsv73gAJHiLyRzJCQWjWEjuW8sy30iAYbgoVHltskdt7Ml98+8v+KcC+Nq/e DQ4zipAe1uXJc06+Cem3nEmdtHhH4hmKeA8gWrVGLSpq6m9NPCYbcO4l4mbjUltJczlHDL avYanB+fyps52tR71BI/mKBIvZjSqXV95juFcWssuTLFMuh/qiOqxHwAFmj2o5ZU/6bnNu PVQsYKfZL8Cr2jJjCHrQYWK7gw2mFzTRrrubjTHrAjQf+pPNFPaWQBPfBcouJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=d966efcc08071380cf89c46a167d5193043b6752 commit d966efcc08071380cf89c46a167d5193043b6752 Author: Dmitry Chagin AuthorDate: 2022-05-13 17:52:14 +0000 Commit: Dmitry Chagin CommitDate: 2022-05-13 17:52:14 +0000 fusefs tests: Remove an unused variable. Reviewed by: asomers Differential revision: https://reviews.freebsd.org/D35185 MFC after: 2 weeks --- tests/sys/fs/fusefs/bmap.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/sys/fs/fusefs/bmap.cc b/tests/sys/fs/fusefs/bmap.cc index 91c9c4f85b64..56821f367a82 100644 --- a/tests/sys/fs/fusefs/bmap.cc +++ b/tests/sys/fs/fusefs/bmap.cc @@ -190,12 +190,11 @@ TEST_P(BmapEof, eof) const off_t filesize = 2 * m_maxbcachebuf; const ino_t ino = 42; mode_t mode = S_IFREG | 0644; - void *contents, *buf; + void *buf; int fd; int ngetattrs; ngetattrs = GetParam(); - contents = calloc(1, filesize); FuseTest::expect_lookup(RELPATH, ino, mode, filesize, 1, 0); expect_open(ino, 0, 1); // Depending on ngetattrs, FUSE_READ could be called with either