Date: Wed, 13 Apr 2022 23:10:04 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d586fc165cfb - main - i386 getmemsize: Use __diagused for a variable only used in KASSERT(). Message-ID: <202204132310.23DNA4bY077400@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=d586fc165cfb286d88b28956eb748257b0917cb4 commit d586fc165cfb286d88b28956eb748257b0917cb4 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-13 23:08:23 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-13 23:08:23 +0000 i386 getmemsize: Use __diagused for a variable only used in KASSERT(). --- sys/i386/i386/machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 9fee973d9e82..43c18042748e 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -903,7 +903,7 @@ getmemsize(int first) u_long memtest; vm_paddr_t physmap[PHYS_AVAIL_ENTRIES]; quad_t dcons_addr, dcons_size, physmem_tunable; - int hasbrokenint12, i, res; + int hasbrokenint12, i, res __diagused; u_int extmem; struct vm86frame vmf; struct vm86context vmc;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204132310.23DNA4bY077400>