diff options
author | Girjesh Rajoria <grajoria@redhat.com> | 2017-11-02 17:05:31 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2017-11-06 07:50:00 +0000 |
commit | 8aace739fd1aa1b3c1f57d08f86a6180d98f1ef1 (patch) | |
tree | d84c65439046dcc6998e1865f10787e720fe407c | |
parent | e994c47e3b84f0509e380190ca3487f9036858d8 (diff) |
rpc/rpc-transport/rdma/: Coverity Issue MISSING_BREAK
Issue: Event unterminated_case: The case for value "27" is not
terminated by a 'break' statement.
Function: gf_rdma_get_transport_identifiers, gf_rdma_server_get_local_sockaddr
Added Fall through in comment after case AF_INET_SDP.
Change-Id: Ia30d0143a63a63af2b4b1d9b02551b9260444f35
BUG: 789278
Signed-off-by: Girjesh Rajoria <grajoria@redhat.com>
-rw-r--r-- | rpc/rpc-transport/rdma/src/name.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/rpc-transport/rdma/src/name.c b/rpc/rpc-transport/rdma/src/name.c index be7490abac1..3887bd623b6 100644 --- a/rpc/rpc-transport/rdma/src/name.c +++ b/rpc/rpc-transport/rdma/src/name.c @@ -586,7 +586,7 @@ gf_rdma_server_get_local_sockaddr (rpc_transport_t *this, case AF_INET_SDP: is_inet_sdp = 1; addr->sa_family = AF_INET; - + /* Fall through */ case AF_INET: case AF_INET6: case AF_UNSPEC: @@ -685,7 +685,7 @@ gf_rdma_get_transport_identifiers (rpc_transport_t *this) case AF_INET_SDP: is_inet_sdp = 1; ((struct sockaddr *) &this->peerinfo.sockaddr)->sa_family = ((struct sockaddr *) &this->myinfo.sockaddr)->sa_family = AF_INET; - + /* Fall through */ case AF_INET: case AF_INET6: { ret = fill_inet6_inet_identifiers (this, |