From: Nicolas François Date: Tue, 6 Aug 2013 18:59:52 +0000 (+0200) Subject: Remove unused variables. X-Git-Tag: 4.2.1~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bae65562ef22a717a23512de026c04bf802f350e;p=shadow Remove unused variables. * lib/subordinateio.c: Remove unused variables. --- diff --git a/ChangeLog b/ChangeLog index 2b9e9b71..8f68bb62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-08-06 Nicolas François + + * lib/subordinateio.c: Remove unused variables. + 2013-08-06 Nicolas François * man/login.defs.d/SUB_GID_COUNT.xml: Fix typo. diff --git a/lib/subordinateio.c b/lib/subordinateio.c index 051fb9f1..27a8f4ab 100644 --- a/lib/subordinateio.c +++ b/lib/subordinateio.c @@ -144,9 +144,6 @@ static const bool range_exists(struct commonio_db *db, const char *owner) const struct subordinate_range *range; commonio_rewind(db); while ((range = commonio_next(db)) != NULL) { - unsigned long first = range->start; - unsigned long last = first + range->count - 1; - if (0 == strcmp(range->owner, owner)) return true; }