mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-05-28 04:03:29 -04:00
Fix compiler warning in reliable.c with --disable-debug
Use the easy way out. Using pre-compiler to completely
avoid n_active seems like overkill.
Change-Id: Icad1a52d14311a6f06bda081cab2f4bded8d47ed
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>
Message-Id: <20250711100405.240625-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32107.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit fcd8f0f9fc)
This commit is contained in:
parent
5c968a361f
commit
abd2e52a31
1 changed files with 1 additions and 0 deletions
|
|
@ -649,6 +649,7 @@ reliable_can_send(const struct reliable *rel)
|
|||
}
|
||||
}
|
||||
}
|
||||
(void)n_active; /* dmsg might not generate code */
|
||||
dmsg(D_REL_DEBUG, "ACK reliable_can_send active=%d current=%d : %s",
|
||||
n_active,
|
||||
n_current,
|
||||
|
|
|
|||
Loading…
Reference in a new issue