Remove unused variables.

* lib/subordinateio.c: Remove unused variables.
This commit is contained in:
Nicolas François 2013-08-06 20:59:52 +02:00
parent 95d1e146b2
commit bae65562ef
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
* lib/subordinateio.c: Remove unused variables.
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
* man/login.defs.d/SUB_GID_COUNT.xml: Fix typo.

View File

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