Skip to content

Commit

Permalink
Fix Coverity defect
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DimitriPapadopoulos committed Jan 14, 2021
1 parent ee47de7 commit 6b8f9fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6b8f9fe

Please sign in to comment.