mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Declare domain even if the system lacks innetgr().
Fixes a build error on musl-based systems like Alpine.
This commit is contained in:
parent
918af413f3
commit
d8e6396c55
@ -673,9 +673,7 @@ bool
|
||||
netgr_matches(struct sudo_nss *nss, const char *netgr,
|
||||
const char *lhost, const char *shost, const char *user)
|
||||
{
|
||||
#ifdef HAVE_INNETGR
|
||||
const char *domain;
|
||||
#endif
|
||||
bool rc = false;
|
||||
debug_decl(netgr_matches, SUDOERS_DEBUG_MATCH);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user