From: Andreas Jaeger Date: Sun, 17 Dec 2000 17:06:32 +0000 (+0000) Subject: * locale/programs/ld-collate.c (collate_finish): Don't use labels X-Git-Tag: upstream/2.30~23977 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9fea9ed65f1c0b0792ab5105150337fc68d73f27;p=external%2Fglibc.git * 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. --- diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c index 9d53702..aee2daa 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 92d6338..4d63441 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 f7b1007..5ac87c5 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,