aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vcl_test.h4
-rw-r--r--src/vcl/vcl_test_client.c12
2 files changed, 6 insertions, 10 deletions
diff --git a/src/vcl/vcl_test.h b/src/vcl/vcl_test.h
index a5a8ad19488..ab05f7ae9cf 100644
--- a/src/vcl/vcl_test.h
+++ b/src/vcl/vcl_test.h
@@ -404,7 +404,7 @@ static inline int
vcl_test_read (int fd, uint8_t * buf, uint32_t nbytes,
vcl_test_stats_t * stats)
{
- int rx_bytes, errno_val;
+ int rx_bytes;
do
{
@@ -443,7 +443,7 @@ vcl_test_read (int fd, uint8_t * buf, uint32_t nbytes,
static inline int
vcl_test_read_ds (int fd, vppcom_data_segments_t ds, vcl_test_stats_t * stats)
{
- int rx_bytes, errno_val;
+ int rx_bytes;
do
{
diff --git a/src/vcl/vcl_test_client.c b/src/vcl/vcl_test_client.c
index af953e547c5..42476ffbe01 100644
--- a/src/vcl/vcl_test_client.c
+++ b/src/vcl/vcl_test_client.c
@@ -62,7 +62,6 @@ vcl_test_client_main_t vcl_client_main;
static int
vtc_cfg_sync (vcl_test_session_t * ts)
{
- vcl_test_client_main_t *vcm = &vcl_client_main;
vcl_test_cfg_t *rx_cfg = (vcl_test_cfg_t *) ts->rxbuf;
int rx_bytes, tx_bytes;
@@ -216,11 +215,10 @@ static int
vtc_worker_init (vcl_test_client_worker_t * wrk)
{
vcl_test_client_main_t *vcm = &vcl_client_main;
- vcl_test_session_t *ctrl = &vcm->ctrl_session;
vcl_test_cfg_t *cfg = &wrk->cfg;
vcl_test_session_t *ts;
- uint32_t i, n;
- int rv, nbytes;
+ uint32_t n;
+ int rv;
__wrk_index = wrk->wrk_index;
@@ -477,9 +475,7 @@ vtc_stream_client (vcl_test_client_main_t * vcm)
vcl_test_session_t *ctrl = &vcm->ctrl_session;
vcl_test_cfg_t *cfg = &ctrl->cfg;
vcl_test_client_worker_t *wrk;
- vcl_test_session_t *ts;
- int tx_bytes, rv;
- uint32_t i, n, sidx, n_conn, n_conn_per_wrk;
+ uint32_t i, n_conn, n_conn_per_wrk;
vtinf ("%s-directional Stream Test Starting!",
ctrl->cfg.test == VCL_TEST_TYPE_BI ? "Bi" : "Uni");
@@ -989,7 +985,7 @@ main (int argc, char **argv)
{
vcl_test_client_main_t *vcm = &vcl_client_main;
vcl_test_session_t *ctrl = &vcm->ctrl_session;
- int rv, errno_val;
+ int rv;
vcm->n_workers = 1;
vcl_test_cfg_init (&ctrl->cfg);