From 0126fbdffbb70161ee65ac284a9e36249f687efd Mon Sep 17 00:00:00 2001 From: Robert Hencke Date: Fri, 22 Feb 2019 10:50:01 -0500 Subject: abuild-sudo: remove unused variable This prevents clang from issuing a warning here. --- abuild-sudo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abuild-sudo.c b/abuild-sudo.c index 3afd887..80ceb8d 100644 --- a/abuild-sudo.c +++ b/abuild-sudo.c @@ -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"); -- cgit v1.2.3-70-g09d2