about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-02-27 13:58:56 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-02-27 13:58:56 +0000
commitf627dd4da804c00b5e89e5e2c488c2bad6205262 (patch)
tree1f7f5ac50d2fda297e69a812e4d05e821856c7f9 /ChangeLog
parentc4f50205e10b066654cf59ecde4fd1c2a674f19e (diff)
downloadglibc-f627dd4da804c00b5e89e5e2c488c2bad6205262.tar.gz
glibc-f627dd4da804c00b5e89e5e2c488c2bad6205262.tar.xz
glibc-f627dd4da804c00b5e89e5e2c488c2bad6205262.zip
Fix -Wempty-body warnings in Hurd-specific code.
This patch fixes -Wempty-body warnings in Hurd-specific code that show
up building glibc with -Wextra.

Note: there also such warnings on many platforms arising from the
default definition of HP_TIMING_NOW in sysdeps/generic/hp-timing.h,
but no change there is proposed in this patch because of other changes
under discussion in that area that would result in a nonempty
definition.

Tested with build-many-glibcs.py.

	* hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
	if statement.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 34e4558bb5..de34cdd005 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.