Created attachment 252517 [details] Git formatted patch to fix build error in sys/vm/vm_pageout.c Fixes the following build error: /usr/src/sys/vm/vm_pageout.c:369:14: error: variable 'object' set but not used [-Werror,-Wunused-but-set-variable] --- modules-all --- --- all_subdir_ae --- ===> ae (all) --- vm_pageout.o --- 369 | vm_object_t object; |
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8bb6b413f6d32a7db111246b5d2aa8a2b9e50734 commit 8bb6b413f6d32a7db111246b5d2aa8a2b9e50734 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-08-05 15:05:15 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-08-05 15:07:18 +0000 vm/vm_pageout.c: eliminate write-only variable PR: 280631 Fixes: acb4cb33d35838e3e86412202cd63d9021b21ce2 (non-debug builds) Sponsored by: The FreeBSD Foundation sys/vm/vm_pageout.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)