From bae65562ef22a717a23512de026c04bf802f350e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Fran=C3=A7ois?= Date: Tue, 6 Aug 2013 20:59:52 +0200 Subject: [PATCH] Remove unused variables. * lib/subordinateio.c: Remove unused variables. --- ChangeLog | 4 ++++ lib/subordinateio.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) 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; }