* locale/programs/ld-collate.c (collate_finish): Don't use labels
authorAndreas Jaeger <aj@suse.de>
Sun, 17 Dec 2000 17:06:32 +0000 (17:06 +0000)
committerAndreas Jaeger <aj@suse.de>
Sun, 17 Dec 2000 17:06:32 +0000 (17:06 +0000)
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
locale/programs/locale.c
resolv/nss_dns/dns-host.c

index 9d53702..aee2daa 100644 (file)
@@ -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.  */
index 92d6338..4d63441 100644 (file)
@@ -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;
+         
        }
     }
 
index f7b1007..5ac87c5 100644 (file)
@@ -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,