mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-06-03 22:01:13 -04:00
tls_process: don't set variable that's never read
Found by the clang static analyzer: the state_change variable is set, but never read afterwards. This code has been like this since 2005, makes sense without setting state_change to true, and has worked fine for the past 11 years. Signed-off-by: Steffan Karger <steffan.karger@fox-it.com> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1480344801-27855-1-git-send-email-steffan.karger@fox-it.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13260.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
parent
9bc2be7b4f
commit
06c54466c8
1 changed files with 0 additions and 1 deletions
|
|
@ -2809,7 +2809,6 @@ tls_process (struct tls_multi *multi,
|
|||
RELIABLE_ACK_SIZE, false);
|
||||
*to_link = buf;
|
||||
active = true;
|
||||
state_change = true;
|
||||
dmsg (D_TLS_DEBUG, "Dedicated ACK -> TCP/UDP");
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue