From 107562682c8f6a5736a0a8257428c15a3c68a165 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 13 Feb 2019 18:37:54 +0000 Subject: 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. --- nis/nis_call.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nis') diff --git a/nis/nis_call.c b/nis/nis_call.c index 965b66991e..58e3a4dc54 100644 --- a/nis/nis_call.c +++ b/nis/nis_call.c @@ -325,6 +325,7 @@ __do_niscall3 (dir_binding *dbp, u_long prog, xdrproc_t xargs, caddr_t req, } /* Yes, the missing break is correct. If we doesn't have to start a callback, look if we have to search another server */ + /* Fall through. */ case NIS_LOOKUP: case NIS_ADD: case NIS_MODIFY: -- cgit 1.4.1