diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | hurd/hurdinit.c | 10 |
2 files changed, 9 insertions, 4 deletions
@@ -1,5 +1,8 @@ 2019-02-27 Joseph Myers <joseph@codesourcery.com> + * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an + if statement. + * benchtests/bench-strcpy.c (do_test): Use space before '('. * benchtests/bench-string.h (cmdline_process_function): Likewise. * benchtests/bench-strlen.c (do_test): Likewise. diff --git a/hurd/hurdinit.c b/hurd/hurdinit.c index f4a3607ae6..938e6da5e3 100644 --- a/hurd/hurdinit.c +++ b/hurd/hurdinit.c @@ -100,10 +100,12 @@ _hurd_init (int flags, char **argv, portarraysize * sizeof (mach_port_t)); if (flags & EXEC_SECURE) - /* XXX if secure exec, elide environment variables - which the library uses and could be security holes. - CORESERVER, COREFILE - */ ; + { + /* XXX if secure exec, elide environment variables + which the library uses and could be security holes. + CORESERVER, COREFILE + */ + } /* Call other things which want to do some initialization. These are not on the __libc_subinit hook because things there like to be able to |