mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-23 15:33:28 +00:00
abuild-sudo: remove unused variable
This prevents clang from issuing a warning here.
This commit is contained in:
parent
0b86c457f3
commit
0126fbdffb
@ -50,7 +50,7 @@ int is_in_group(gid_t group)
|
||||
{
|
||||
int ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1;
|
||||
gid_t *buf = malloc(ngroups_max * sizeof(gid_t));
|
||||
int ngroups, ret = 0;
|
||||
int ngroups;
|
||||
int i;
|
||||
if (buf == NULL) {
|
||||
perror("malloc");
|
||||
|
Loading…
Reference in New Issue
Block a user