From: Jim Meyering Date: Fri, 3 Jun 2011 11:29:15 +0000 (+0200) Subject: maint: remove now-spurious curly braces X-Git-Tag: v8.13~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7332b889e083370293b143687df3e01bbca7539;p=thirdparty%2Fcoreutils.git maint: remove now-spurious curly braces * src/chown-core.c (restricted_chown): Remove FIXME comment and superfluous curly braces. --- diff --git a/src/chown-core.c b/src/chown-core.c index 55f8a2d36b..26a272eed2 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