Commit 0126fbdf authored by Robert Hencke's avatar Robert Hencke Committed by Natanael Copa

abuild-sudo: remove unused variable

This prevents clang from issuing a warning here.
parent 0b86c457
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment