summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-06-03 13:29:15 +0200
committerJim Meyering <meyering@redhat.com>2011-06-04 10:56:56 +0200
commitb7332b889e083370293b143687df3e01bbca7539 (patch)
tree21a49d7d5771f5b41cacc980105b5d2894f06d0a
parentccf2d9a482d19c949befde807184b0f5bbf72397 (diff)
downloadcoreutils-b7332b889e083370293b143687df3e01bbca7539.tar.xz
maint: remove now-spurious curly braces
* src/chown-core.c (restricted_chown): Remove FIXME comment and superfluous curly braces.
-rw-r--r--src/chown-core.c10
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