diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2022-05-13 17:52:14 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2022-05-13 17:52:14 +0000 |
commit | d966efcc08071380cf89c46a167d5193043b6752 (patch) | |
tree | ad2738fd4fd576bbe1bd113c778556d64fabe5e0 | |
parent | 147585b4893bc38698aaa971af336b241477eac3 (diff) |
fusefs tests: Remove an unused variable.
Reviewed by: asomers
Differential revision: https://reviews.freebsd.org/D35185
MFC after: 2 weeks
-rw-r--r-- | tests/sys/fs/fusefs/bmap.cc | 3 |
1 files changed, 1 insertions, 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 |