i386 getmemsize: Use __diagused for a variable only used in KASSERT().

This commit is contained in:
John Baldwin 2022-04-13 16:08:23 -07:00
parent 8bf0d2d3e3
commit d586fc165c

View File

@ -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;