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; }