diff options
author | Jim Meyering <jim@meyering.net> | 2003-10-05 16:26:45 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-10-05 16:26:45 +0000 |
commit | 9f761eaf90427fe234123890c722263a10b621d9 (patch) | |
tree | 4c4fa8dcccd4d544713eb908adb0d66529e8a568 /src | |
parent | 77549cb5c3abe3c356c306d788740cd383b92545 (diff) | |
download | coreutils-9f761eaf90427fe234123890c722263a10b621d9.tar.xz |
(change_file_owner): Remove set-but-not-used local.
Diffstat (limited to 'src')
-rw-r--r-- | src/chown-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/chown-core.c b/src/chown-core.c index 57b91a95e..1ec46f15c 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) |