vcl: fix coverity warning 28/25728/1
authorFlorin Coras <fcoras@cisco.com>
Sat, 7 Mar 2020 17:45:47 +0000 (17:45 +0000)
committerFlorin Coras <fcoras@cisco.com>
Sat, 7 Mar 2020 17:45:47 +0000 (17:45 +0000)
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I35fba8f17bdd6e2f5612358608ff6c13f4b431fe

src/vcl/vcl_locked.c

index fcbc0ea..ae9c976 100644 (file)
@@ -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);