summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-17 17:06:32 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-17 17:06:32 +0000
commit9fea9ed65f1c0b0792ab5105150337fc68d73f27 (patch)
tree87f86adce9434a6be1c93e1afc1494277af49a6c
parent0a70515e2ebc0060ab53b83cd9c0a379706da986 (diff)
downloadglibc-9fea9ed65f1c0b0792ab5105150337fc68d73f27.tar.gz
glibc-9fea9ed65f1c0b0792ab5105150337fc68d73f27.tar.xz
glibc-9fea9ed65f1c0b0792ab5105150337fc68d73f27.zip
* 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.
-rw-r--r--locale/programs/ld-collate.c2
-rw-r--r--locale/programs/locale.c2
-rw-r--r--resolv/nss_dns/dns-host.c1
3 files changed, 5 insertions, 0 deletions
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,