From 8607476cf2c811c7df877d6b80ed0b4b646b9ea4 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 25 Dec 2015 21:41:52 +0100 Subject: [PATCH] setfacl: Remove unused local variable * setfacl.cc (delacl): Remove unused local variable. Signed-off-by: Corinna Vinschen --- winsup/utils/ChangeLog | 4 ++++ winsup/utils/setfacl.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 907882301..2ee81fa74 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2015-12-25 Corinna Vinschen + + * setfacl.cc (delacl): Remove unused local variable. + 2015-12-21 Corinna Vinschen * setfacl.cc (delace): New helper function to delete a single ACE. diff --git a/winsup/utils/setfacl.c b/winsup/utils/setfacl.c index 3169e63c5..cd0edc5e3 100644 --- a/winsup/utils/setfacl.c +++ b/winsup/utils/setfacl.c @@ -255,7 +255,7 @@ delace (aclent_t *tgt, int tcnt, int t) int delacl (aclent_t *tgt, int tcnt, aclent_t *src, int scnt) { - int t, s, i; + int t, s; for (s = 0; s < scnt; ++s) {