mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
maint: remove now-spurious curly braces
* src/chown-core.c (restricted_chown): Remove FIXME comment and superfluous curly braces.
This commit is contained in:
1 parent
ccf2d9a482
commit
b7332b889e
1 file changed
+4
-6
+4
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user