Skip to content

Commit 32d04eb

Browse files
flichtenheldcron2
authored andcommitted
dco_win: Remove unused dco_start_tun declaration
This function was removed in commit 1625d92, but the declaration and the non-Windows definition were left behind. Identified by cppcheck. Change-Id: I395cc722d53201d775c20ae3cf9d50149bfc90ed Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com> Acked-by: Gert Doering <gert@greenie.muc.de> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1863 Message-Id: <20260824161512.1720-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg38640.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
1 parent a0598f5 commit 32d04eb

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/openvpn/dco_win.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ void dco_mp_start_vpn(HANDLE handle, struct link_socket *sock);
6565
void dco_p2p_new_peer(HANDLE handle, OVERLAPPED *ov, struct link_socket *sock,
6666
struct signal_info *sig_info);
6767

68-
void dco_start_tun(struct tuntap *tt);
69-
7068
bool dco_win_supports_multipeer(void);
7169

7270
void dco_win_add_iroute_ipv4(dco_context_t *dco, in_addr_t dst, unsigned int netbits,
@@ -79,13 +77,5 @@ void dco_win_del_iroute_ipv4(dco_context_t *dco, in_addr_t dst, unsigned int net
7977

8078
void dco_win_del_iroute_ipv6(dco_context_t *dco, struct in6_addr dst, unsigned int netbits);
8179

82-
#else /* if defined(ENABLE_DCO) && defined(_WIN32) */
83-
84-
static inline void
85-
dco_start_tun(struct tuntap *tt)
86-
{
87-
ASSERT(false);
88-
}
89-
9080
#endif /* defined(_WIN32) */
9181
#endif /* ifndef DCO_H */

0 commit comments

Comments
 (0)