Remove unused variables.
* lib/subordinateio.c: Remove unused variables.
This commit is contained in:
parent
95d1e146b2
commit
bae65562ef
@ -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>
|
2013-08-06 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* man/login.defs.d/SUB_GID_COUNT.xml: Fix typo.
|
* man/login.defs.d/SUB_GID_COUNT.xml: Fix typo.
|
||||||
|
@ -144,9 +144,6 @@ static const bool range_exists(struct commonio_db *db, const char *owner)
|
|||||||
const struct subordinate_range *range;
|
const struct subordinate_range *range;
|
||||||
commonio_rewind(db);
|
commonio_rewind(db);
|
||||||
while ((range = commonio_next(db)) != NULL) {
|
while ((range = commonio_next(db)) != NULL) {
|
||||||
unsigned long first = range->start;
|
|
||||||
unsigned long last = first + range->count - 1;
|
|
||||||
|
|
||||||
if (0 == strcmp(range->owner, owner))
|
if (0 == strcmp(range->owner, owner))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user