about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-02-13 18:37:54 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-02-13 18:37:54 +0000
commit107562682c8f6a5736a0a8257428c15a3c68a165 (patch)
tree6c838312cc386f4b0262ced880b6c27a2e126834 /ChangeLog
parent0538372096e50d9cf0ab8bd413cf7b561a1b85d7 (diff)
downloadglibc-107562682c8f6a5736a0a8257428c15a3c68a165.tar.gz
glibc-107562682c8f6a5736a0a8257428c15a3c68a165.tar.xz
glibc-107562682c8f6a5736a0a8257428c15a3c68a165.zip
Adjust wording of two fall-through comments.
In two places in glibc, -Wextra produces implicit-fallthrough warnings
where there are comments about the fall-through but their wording
doesn't match one of the forms expected by the default
implicit-fallthrough level.  This patch adjusts those two places to
have a comment in a form that is accepted, so avoiding the warning
(this seems preferable to only being able to use a looser level of the
warning that allows any comment at all as evidence of deliberate
fall-through).

Tested for x86_64.

	* iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
	comment wording.
	* nis/nis_call.c (__do_niscall3): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f8210cdb41..74e640191c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2019-02-13  Joseph Myers  <joseph@codesourcery.com>
 
+	* iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
+	comment wording.
+	* nis/nis_call.c (__do_niscall3): Likewise.
+
 	* catgets/gencat.c (normalize_line): Use braces around empty
 	'else' body.
 	* include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]