diff options
author | Jim Meyering <meyering@redhat.com> | 2011-06-03 13:29:15 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-06-04 10:56:56 +0200 |
commit | b7332b889e083370293b143687df3e01bbca7539 (patch) | |
tree | 21a49d7d5771f5b41cacc980105b5d2894f06d0a /src | |
parent | ccf2d9a482d19c949befde807184b0f5bbf72397 (diff) | |
download | coreutils-b7332b889e083370293b143687df3e01bbca7539.tar.xz |
maint: remove now-spurious curly braces
* src/chown-core.c (restricted_chown): Remove FIXME comment and
superfluous curly braces.
Diffstat (limited to 'src')
-rw-r--r-- | src/chown-core.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/chown-core.c b/src/chown-core.c index 55f8a2d36..26a272eed 100644 --- a/src/chown-core.c +++ b/src/chown-core.c @@ -256,12 +256,10 @@ restricted_chown (int cwd_fd, char const *file, } } - { /* FIXME: remove these curly braces when we assume C99. */ - int saved_errno = errno; - close (fd); - errno = saved_errno; - return status; - } + int saved_errno = errno; + close (fd); + errno = saved_errno; + return status; } /* Change the owner and/or group of the file specified by FTS and ENT |