diff options
author | Robert Hencke <robert.hencke@gmail.com> | 2019-02-22 10:50:01 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-03-14 15:46:11 +0100 |
commit | 0126fbdffbb70161ee65ac284a9e36249f687efd (patch) | |
tree | dae912c3f7192fb63a299f982b6f96947b89e8ae | |
parent | 0b86c457f32195e9d9646a4ad0b63a6f7302ab16 (diff) | |
download | abuild-0126fbdffbb70161ee65ac284a9e36249f687efd.tar.bz2 abuild-0126fbdffbb70161ee65ac284a9e36249f687efd.tar.xz |
abuild-sudo: remove unused variable
This prevents clang from issuing a warning here.
-rw-r--r-- | abuild-sudo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |