maint: remove now-spurious curly braces
authorJim Meyering <meyering@redhat.com>
Fri, 3 Jun 2011 11:29:15 +0000 (13:29 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 4 Jun 2011 08:56:56 +0000 (10:56 +0200)
* src/chown-core.c (restricted_chown): Remove FIXME comment and
superfluous curly braces.

src/chown-core.c

index 55f8a2d..26a272e 100644 (file)
@@ -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