Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
session/vcl: fix coverity warnings
[vpp.git]
/
src
/
vcl
/
vcl_locked.c
diff --git
a/src/vcl/vcl_locked.c
b/src/vcl/vcl_locked.c
index
f5892c1
..
725f1bf
100644
(file)
--- a/
src/vcl/vcl_locked.c
+++ b/
src/vcl/vcl_locked.c
@@
-435,6
+435,7
@@
vls_mt_acq_locks (vcl_locked_session_t * vls, vls_mt_ops_t op, int *locks_acq)
}
break;
case VLS_MT_OP_WRITE:
+ ASSERT (s);
if (!is_nonblk)
is_nonblk = vcl_session_write_ready (s) != 0;
if (!is_nonblk)