summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-11-16 12:39:12 +0100
committerDamjan Marion <dmarion@me.com>2021-11-16 18:25:54 +0000
commit2f89f3ae1d0dd11b019d8ba0badf3133a9837dd9 (patch)
tree3828992154e8405e570a1e48db542cd08cc7a7fd /src
parent719d5602080cdf9839d4699d8e22c6968aac8adf (diff)
vlib: fix coverity warning
Remove now unused computation result. Type: fix Fixes: 3f8b8d30cade20afa8975a5e7a6d79346cec8f3e Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: Iea142cb044d31e364fdc5b8b6dd69681e77d745f
Diffstat (limited to 'src')
-rw-r--r--src/vlib/node_cli.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vlib/node_cli.c b/src/vlib/node_cli.c
index d7c7d11aedb..77fef775a2f 100644
--- a/src/vlib/node_cli.c
+++ b/src/vlib/node_cli.c
@@ -564,7 +564,6 @@ show_node_runtime (vlib_main_t * vm,
n_clocks += l;
v = n->stats_total.vectors - n->stats_last_clear.vectors;
- c = n->stats_total.calls - n->stats_last_clear.calls;
switch (n->type)
{