aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_api.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-08-24 13:58:49 -0700
committerFlorin Coras <fcoras@cisco.com>2018-08-24 13:58:49 -0700
commitc3638fece1a3b96349b7df11261e6661b101ccbe (patch)
tree2f97828a4d6b9c51fe4ad1d75c1a4fee4f8e52c9 /src/vnet/session/session_api.c
parent1553197f9a1a3258b6954adeb9536bbe0191683d (diff)
session: fix coverity warnings
Change-Id: I2a25bba675fc9c84e5d391533e92b9a041637405 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_api.c')
-rwxr-xr-xsrc/vnet/session/session_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c
index d573261d262..c12354fdeae 100755
--- a/src/vnet/session/session_api.c
+++ b/src/vnet/session/session_api.c
@@ -1261,6 +1261,9 @@ vl_api_app_worker_add_del_t_handler (vl_api_app_worker_add_del_t * mp)
goto done;
}
+ /* Make coverity happy */
+ ASSERT (args.evt_q && args.segment);
+
/* Send fifo segment fd if needed */
if (ssvm_type (args.segment) == SSVM_SEGMENT_MEMFD)
{