Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2023 15:40:53 GMT
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e5236d25f2c0 - main - fusefs: fix unused variables from fb619c94c67
Message-ID:  <202309211540.38LFertX018226@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by asomers:

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

commit e5236d25f2c0709acf3547e6af45f4bb4eec4f02
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2023-09-21 15:38:06 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2023-09-21 15:40:49 +0000

    fusefs: fix unused variables from fb619c94c67
    
    PR:             270749
    Reported by:    cy
    MFC after:      1 week
    MFC with:       fb619c94c679e939496fe0cf94b8d2cba95e6e63
    Sponsored by:   Axcient
---
 tests/sys/fs/fusefs/default_permissions.cc | 1 -
 tests/sys/fs/fusefs/read.cc                | 2 --
 2 files changed, 3 deletions(-)

diff --git a/tests/sys/fs/fusefs/default_permissions.cc b/tests/sys/fs/fusefs/default_permissions.cc
index 9a931c823689..4b04297d97ac 100644
--- a/tests/sys/fs/fusefs/default_permissions.cc
+++ b/tests/sys/fs/fusefs/default_permissions.cc
@@ -1246,7 +1246,6 @@ TEST_F(Read, atime_during_close)
 {
 	const char FULLPATH[] = "mountpoint/some_file.txt";
 	const char RELPATH[] = "some_file.txt";
-	struct stat sb;
 	uint64_t ino = 42;
 	int fd;
 	ssize_t bufsize = 100;
diff --git a/tests/sys/fs/fusefs/read.cc b/tests/sys/fs/fusefs/read.cc
index 24a1ef17c4db..3df0420facb9 100644
--- a/tests/sys/fs/fusefs/read.cc
+++ b/tests/sys/fs/fusefs/read.cc
@@ -472,7 +472,6 @@ TEST_F(Read, atime_during_close_eacces)
 	const char FULLPATH[] = "mountpoint/some_file.txt";
 	const char RELPATH[] = "some_file.txt";
 	const char *CONTENTS = "abcdefgh";
-	struct stat sb;
 	uint64_t ino = 42;
 	int fd;
 	ssize_t bufsize = strlen(CONTENTS);
@@ -1377,7 +1376,6 @@ TEST_F(RofsRead, atime_during_close)
 	const char FULLPATH[] = "mountpoint/some_file.txt";
 	const char RELPATH[] = "some_file.txt";
 	const char *CONTENTS = "abcdefgh";
-	struct stat sb;
 	uint64_t ino = 42;
 	int fd;
 	ssize_t bufsize = strlen(CONTENTS);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309211540.38LFertX018226>