Forráskód Böngészése

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 14 éve
szülő
commit
cb96f5c1b3
3 módosított fájl, 3 hozzáadás és 0 törlés
  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 */
       /* This will set the xid of the NEXT call */
       *(u_long *)ct->ct_mcall =  htonl (*(u_long *)info - 1);
       *(u_long *)ct->ct_mcall =  htonl (*(u_long *)info - 1);
       /* decrement by 1 as clnttcp_call() increments once */
       /* decrement by 1 as clnttcp_call() increments once */
+      break;
     case CLGET_VERS:
     case CLGET_VERS:
       /*
       /*
        * This RELIES on the information that, in the call body,
        * 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 */
       /* This will set the xid of the NEXT call */
       *(u_long *)cu->cu_outbuf =  htonl(*(u_long *)info - 1);
       *(u_long *)cu->cu_outbuf =  htonl(*(u_long *)info - 1);
       /* decrement by 1 as clntudp_call() increments once */
       /* decrement by 1 as clntudp_call() increments once */
+      break;
     case CLGET_VERS:
     case CLGET_VERS:
       /*
       /*
        * This RELIES on the information that, in the call body,
        * 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 */
       /* This will set the xid of the NEXT call */
       *(u_long *) ct->ct_mcall =  htonl (*(u_long *)info - 1);
       *(u_long *) ct->ct_mcall =  htonl (*(u_long *)info - 1);
       /* decrement by 1 as clntunix_call() increments once */
       /* decrement by 1 as clntunix_call() increments once */
+      break;
     case CLGET_VERS:
     case CLGET_VERS:
       /*
       /*
        * This RELIES on the information that, in the call body,
        * This RELIES on the information that, in the call body,