From 9f761eaf90427fe234123890c722263a10b621d9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 5 Oct 2003 16:26:45 +0000 Subject: [PATCH] (change_file_owner): Remove set-but-not-used local. --- src/chown-core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/chown-core.c b/src/chown-core.c index 57b91a95ea..1ec46f15ca 100644 --- a/src/chown-core.c +++ b/src/chown-core.c @@ -271,13 +271,11 @@ change_file_owner (int cmdline_arg, const char *file, uid_t uid, gid_t gid, int fail; int symlink_changed = 1; int saved_errno; - int called_lchown = 0; if (is_symlink) { if (chopt->dereference == DEREF_NEVER) { - called_lchown = 1; fail = lchown (file, new_uid, new_gid); /* Ignore the failure if it's due to lack of support (ENOSYS) -- 2.47.2