From: Jim Meyering Date: Sun, 5 Oct 2003 16:26:45 +0000 (+0000) Subject: (change_file_owner): Remove set-but-not-used local. X-Git-Tag: v5.1.0~463 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f761eaf90427fe234123890c722263a10b621d9;p=thirdparty%2Fcoreutils.git (change_file_owner): Remove set-but-not-used local. --- 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)