The branch main has been updated by dchagin:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=d966efcc08071380cf89c46a167d5193043b6752

commit d966efcc08071380cf89c46a167d5193043b6752
Author:     Dmitry Chagin <dcha...@freebsd.org>
AuthorDate: 2022-05-13 17:52:14 +0000
Commit:     Dmitry Chagin <dcha...@freebsd.org>
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

Reply via email to