From 6b8f9fee1dd1c911d423b175da04b578a86f10b6 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 14 Jan 2021 16:10:48 +0100 Subject: [PATCH] Fix Coverity defect CID 365297: Unused value (UNUSED_VALUE) assigned_value: Assigning value 1 to ret here, but that stored value is overwritten before it can be used. --- src/tunnel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tunnel.c b/src/tunnel.c index 64eccf19..b384b2a3 100644 --- a/src/tunnel.c +++ b/src/tunnel.c @@ -1268,7 +1268,6 @@ int run_tunnel(struct vpn_config *config) tunnel.cookie); if (ret != 1) { log_error("Could not start tunnel (%s).\n", err_http_str(ret)); - ret = 1; goto err_start_tunnel; }