mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-11 09:19:40 +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;
|
int ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1;
|
||||||
gid_t *buf = malloc(ngroups_max * sizeof(gid_t));
|
gid_t *buf = malloc(ngroups_max * sizeof(gid_t));
|
||||||
int ngroups, ret = 0;
|
int ngroups;
|
||||||
int i;
|
int i;
|
||||||
if (buf == NULL) {
|
if (buf == NULL) {
|
||||||
perror("malloc");
|
perror("malloc");
|
||||||
|
Loading…
Reference in New Issue
Block a user