From b7332b889e083370293b143687df3e01bbca7539 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 3 Jun 2011 13:29:15 +0200 Subject: maint: remove now-spurious curly braces * src/chown-core.c (restricted_chown): Remove FIXME comment and superfluous curly braces. --- src/chown-core.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2