aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-03-07 17:45:47 +0000
committerFlorin Coras <fcoras@cisco.com>2020-03-07 17:45:47 +0000
commit311817f77ec7505bf28b9c7a4d19e545547a1c74 (patch)
tree1a725dc0e85c959ed616b4f12b14029fb7e6cdaf
parented019eae2796453356bb78799507e67af3ab363d (diff)
vcl: fix coverity warning
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I35fba8f17bdd6e2f5612358608ff6c13f4b431fe
-rw-r--r--src/vcl/vcl_locked.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vcl/vcl_locked.c b/src/vcl/vcl_locked.c
index fcbc0ea3a00..ae9c9762dc1 100644
--- a/src/vcl/vcl_locked.c
+++ b/src/vcl/vcl_locked.c
@@ -533,8 +533,8 @@ int
vls_unshare_session (vcl_locked_session_t * vls, vcl_worker_t * wrk)
{
vls_shared_data_t *vls_shd;
- int do_disconnect;
- u32 n_subscribers, pos;
+ int do_disconnect, pos;
+ u32 n_subscribers;
vcl_session_t *s;
ASSERT (vls->shared_data_index != ~0);