abuild-sudo: remove unused variable

This prevents clang from issuing a warning here.
This commit is contained in:
Robert Hencke 2019-02-22 10:50:01 -05:00 committed by Natanael Copa
parent 0b86c457f3
commit 0126fbdffb

View File

@ -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");