libefivar: Use a void cast in unimplemented stubs.

This "consumes" an otherwise unused argument.

Differential Revision:	https://reviews.freebsd.org/D40650
This commit is contained in:
John Baldwin 2023-06-27 10:19:31 -07:00
parent 36c2fec31d
commit ccfd87fe2a

View File

@ -45,8 +45,8 @@ __FBSDID("$FreeBSD$");
#include "uefi-dplib.h"
/* XXX STUBS -- this stuff doesn't work yet */
#define StrToIpv4Address(str, unk, ipv4ptr, unk2)
#define StrToIpv6Address(str, unk, ipv6ptr, unk2)
#define StrToIpv4Address(str, unk, ipv4ptr, unk2) (void)(str)
#define StrToIpv6Address(str, unk, ipv6ptr, unk2) (void)(str)
/*
* OK. Now this is evil. Can't typedef it again. Sure beats changing them all.