git: 16e9ec4406c8 - main - stand: mark unused argment as unused

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 22 Apr 2023 06:31:22 UTC
The branch main has been updated by imp:

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

commit 16e9ec4406c8bf4e06d72e97ebd47bc8dd6c0319
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-04-22 06:29:03 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-04-22 06:30:43 +0000

    stand: mark unused argment as unused
    
    We don't use the 'ver' argument for uuids sometimes, so mark it unused.
    
    Sponsored by:           Netflix
---
 stand/libsa/smbios.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/libsa/smbios.c b/stand/libsa/smbios.c
index 257aa15bd5f5..657e1635e6e1 100644
--- a/stand/libsa/smbios.c
+++ b/stand/libsa/smbios.c
@@ -198,7 +198,7 @@ smbios_setenv(const char *name, caddr_t addr, const int offset)
 #define	UUID_GET(base, off)	(*(UUID_TYPE *)((base) + (off)))
 
 static void
-smbios_setuuid(const char *name, const caddr_t addr, const int ver)
+smbios_setuuid(const char *name, const caddr_t addr, const int ver __unused)
 {
 	char		uuid[37];
 	int		byteorder, i, ones, zeros;