This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
The appended patch removes these warnings: programs/ld-collate.c:1637: warning: deprecated use of label at end of compound statement programs/ld-collate.c:1737: warning: deprecated use of label at end of compound statement programs/locale.c:636: warning: deprecated use of label at end of compound statement nss_dns/dns-host.c:287: warning: deprecated use of label at end of compound statement Ok to commit? Andreas 2000-12-17 Andreas Jaeger <aj@suse.de> * 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. ============================================================ Index: resolv/nss_dns/dns-host.c --- resolv/nss_dns/dns-host.c 2000/07/10 20:43:13 1.24 +++ resolv/nss_dns/dns-host.c 2000/12/17 09:43:49 @@ -284,6 +284,7 @@ break; default: /* Cannot happen. */ + break; } n = res_nquery (&_res, qbuf, C_IN, T_PTR, (u_char *)host_buffer.buf, ============================================================ Index: locale/programs/locale.c --- locale/programs/locale.c 2000/10/31 17:42:47 1.35 +++ locale/programs/locale.c 2000/12/17 09:43:50 @@ -633,6 +633,8 @@ /* We don't print wide character information since the same information is available in a multibyte string. */ default: + break; + } } ============================================================ Index: locale/programs/ld-collate.c --- locale/programs/ld-collate.c 2000/12/09 18:33:46 1.88 +++ locale/programs/ld-collate.c 2000/12/17 09:43:53 @@ -1634,6 +1634,7 @@ (*eptr)->mblast = runp; *eptr = runp; dont_insert: + ; } if (runp->used_in_level) @@ -1734,6 +1735,7 @@ if (eptr == &e) wchead_table_add (&collate->wcheads, runp->wcs[0], e); dont_insertwc: + ; } /* Up to the next entry. */ -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |