git: c48e46d52876 - stable/13 - tests/sys/posixshm/posixshm_test.c: Fix build for real
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Jan 2023 13:03:32 UTC
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;