Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2023 13:03:32 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: c48e46d52876 - stable/13 - tests/sys/posixshm/posixshm_test.c: Fix build for real
Message-ID:  <202301201303.30KD3WKr070638@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

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

commit c48e46d5287688950f6e787e783ce4f51db7d39d
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-01-20 13:02:12 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-01-20 13:03:10 +0000

    tests/sys/posixshm/posixshm_test.c: Fix build for real
    
    Remove unused variables.  This is a direct commit to stable/13.
---
 tests/sys/posixshm/posixshm_test.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/sys/posixshm/posixshm_test.c b/tests/sys/posixshm/posixshm_test.c
index 9d5832999b9d..f0784f7b8769 100644
--- a/tests/sys/posixshm/posixshm_test.c
+++ b/tests/sys/posixshm/posixshm_test.c
@@ -992,9 +992,8 @@ ATF_TC_BODY(fallocate, tc)
 ATF_TC_WITHOUT_HEAD(accounting);
 ATF_TC_BODY(accounting, tc)
 {
-	struct spacectl_range range;
 	struct stat st;
-	off_t shm_sz, len;
+	off_t shm_sz;
 	size_t page_size;
 	int fd, error;
 



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