Browse Source

sunrpc: fix spurious fall-through

Fix spurious fall-through.

Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
Mark Salter 13 years ago
parent
commit
cb96f5c1b3
3 changed files with 3 additions and 0 deletions
  1. 1 0
      libc/inet/rpc/clnt_tcp.c
  2. 1 0
      libc/inet/rpc/clnt_udp.c
  3. 1 0
      libc/inet/rpc/clnt_unix.c

+ 1 - 0
libc/inet/rpc/clnt_tcp.c

@@ -402,6 +402,7 @@ clnttcp_control (CLIENT *cl, int request, char *info)
       /* This will set the xid of the NEXT call */
       *(u_long *)ct->ct_mcall =  htonl (*(u_long *)info - 1);
       /* decrement by 1 as clnttcp_call() increments once */
+      break;
     case CLGET_VERS:
       /*
        * This RELIES on the information that, in the call body,

+ 1 - 0
libc/inet/rpc/clnt_udp.c

@@ -554,6 +554,7 @@ clntudp_control (CLIENT *cl, int request, char *info)
       /* This will set the xid of the NEXT call */
       *(u_long *)cu->cu_outbuf =  htonl(*(u_long *)info - 1);
       /* decrement by 1 as clntudp_call() increments once */
+      break;
     case CLGET_VERS:
       /*
        * This RELIES on the information that, in the call body,

+ 1 - 0
libc/inet/rpc/clnt_unix.c

@@ -377,6 +377,7 @@ clntunix_control (CLIENT *cl, int request, char *info)
       /* This will set the xid of the NEXT call */
       *(u_long *) ct->ct_mcall =  htonl (*(u_long *)info - 1);
       /* decrement by 1 as clntunix_call() increments once */
+      break;
     case CLGET_VERS:
       /*
        * This RELIES on the information that, in the call body,