Skip to contentSkip to conversation

tun.c: remove unused variable

PATCH In review Antonio Quartulli 3 participants 3 messages Apr 3, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tun.c: remove unused variable

From: Antonio Quartulli <[email protected]...>

---
 src/openvpn/tun.c | 1 -
 1 file changed, 1 deletion(-)
src/openvpn/tun.c +0 -1
index 6b7c8ef1..60a3a179 100644
@@ -281,7 +281,6 @@ out:
 static bool
 do_set_mtu_service(const struct tuntap *tt, const short family, const int mtu)
 {
-    DWORD len;
     bool ret = false;
     ack_message_t ack;
     struct gc_arena gc = gc_new();
Signature · 1 line
2.26.3
Acked-by on v1 1/1
#1 lore raw

Hi

Quoted 13 lines · Antonio Quartulli

From: Antonio Quartulli <[email protected]...>

---
 src/openvpn/tun.c | 1 -
 1 file changed, 1 deletion(-)
src/openvpn/tun.c +0 -0
index 6b7c8ef1..60a3a179 100644

src/openvpn/tun.c out: · line 286

Quoted 7 lines
src/openvpn/tun.c +0 -1
@@ -281,7 +281,6 @@ out:
 static bool
 do_set_mtu_service(const struct tuntap *tt, const short family, const int mtu)
 {
-    DWORD len;
     bool ret = false;
     ack_message_t ack;
     struct gc_arena gc = gc_new();

This has been lurking around in the build logs for too long. Good riddance. And, glad to see more eyes on the pariah windows-only code paths :)

#2 lore raw
In reply to Antonio Quartulli

Your patch has been applied to the master branch.

commit 411fc52eb19d359f1a698a884667cd7282db0b3c

Author: Antonio Quartulli
Date:   Sat Apr 3 17:59:37 2021 +0200
     tun.c: remove unused variable

     Signed-off-by: Antonio Quartulli <[email protected]...>
     Acked-by: Selva Nair <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg22014.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering