summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorGirjesh Rajoria <grajoria@redhat.com>2017-09-22 19:09:34 +0530
committerRaghavendra G <rgowdapp@redhat.com>2017-09-29 06:34:47 +0000
commita2039f3e97049806ca0847a84cc9030e31f4d008 (patch)
treee819a1a2b39e3830012dc884279befd2167ec13d /rpc
parent8daaac1481adc919cb80c6f3d98bc5b3f0b829f5 (diff)
rpc/rpc-transport/socket/: Coverity Issue MISSING_BREAK
Issue: Event unterminated_case: The case for value "AF_INET_SDP" is not terminated by a 'break' statement. Function: socket_server_get_local_sockaddr Added Fall through in comment after case AF_INET_SDP. Change-Id: I5340cde2257be33ff13c53cee6ccdb33df7d2c88 BUG: 789278 Signed-off-by: Girjesh Rajoria <grajoria@redhat.com>
Diffstat (limited to 'rpc')
-rw-r--r--rpc/rpc-transport/socket/src/name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-transport/socket/src/name.c b/rpc/rpc-transport/socket/src/name.c
index 04dc2a9..b604bb5 100644
--- a/rpc/rpc-transport/socket/src/name.c
+++ b/rpc/rpc-transport/socket/src/name.c
@@ -620,7 +620,7 @@ socket_server_get_local_sockaddr (rpc_transport_t *this, struct sockaddr *addr,
{
case AF_INET_SDP:
addr->sa_family = AF_INET;
-
+ /* Fall through */
case AF_INET:
case AF_INET6:
case AF_UNSPEC: