From 9fea9ed65f1c0b0792ab5105150337fc68d73f27 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 17 Dec 2000 17:06:32 +0000 Subject: [PATCH] * locale/programs/ld-collate.c (collate_finish): Don't use labels at end of compound statement. * locale/programs/locale.c (show_info): Likewise. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. --- locale/programs/ld-collate.c | 2 ++ locale/programs/locale.c | 2 ++ resolv/nss_dns/dns-host.c | 1 + 3 files changed, 5 insertions(+) diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c index 9d53702984..aee2daaa69 100644 --- a/locale/programs/ld-collate.c +++ b/locale/programs/ld-collate.c @@ -1634,6 +1634,7 @@ collate_finish (struct localedef_t *locale, struct charmap_t *charmap) (*eptr)->mblast = runp; *eptr = runp; dont_insert: + ; } if (runp->used_in_level) @@ -1734,6 +1735,7 @@ collate_finish (struct localedef_t *locale, struct charmap_t *charmap) if (eptr == &e) wchead_table_add (&collate->wcheads, runp->wcs[0], e); dont_insertwc: + ; } /* Up to the next entry. */ diff --git a/locale/programs/locale.c b/locale/programs/locale.c index 92d63386fd..4d63441cea 100644 --- a/locale/programs/locale.c +++ b/locale/programs/locale.c @@ -633,6 +633,8 @@ show_info (const char *name) /* We don't print wide character information since the same information is available in a multibyte string. */ default: + break; + } } diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c index f7b1007f29..5ac87c5a5e 100644 --- a/resolv/nss_dns/dns-host.c +++ b/resolv/nss_dns/dns-host.c @@ -284,6 +284,7 @@ _nss_dns_gethostbyaddr_r (const char *addr, size_t len, int af, break; default: /* Cannot happen. */ + break; } n = res_nquery (&_res, qbuf, C_IN, T_PTR, (u_char *)host_buffer.buf,