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:
parent
36c2fec31d
commit
ccfd87fe2a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user