From patchwork Sat Apr 3 04:59:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Quartulli X-Patchwork-Id: 1707 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director15.mail.ord1d.rsapps.net ([172.30.191.6]) by backend30.mail.ord1d.rsapps.net with LMTP id cPl5KzaRaGDjJQAAIUCqbw (envelope-from ) for ; Sat, 03 Apr 2021 12:00:54 -0400 Received: from proxy1.mail.ord1d.rsapps.net ([172.30.191.6]) by director15.mail.ord1d.rsapps.net with LMTP id 0JkzKzaRaGBTLgAAIcMcQg (envelope-from ) for ; Sat, 03 Apr 2021 12:00:54 -0400 Received: from smtp39.gate.ord1d ([172.30.191.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy1.mail.ord1d.rsapps.net with LMTPS id kDv/KjaRaGDHXAAAasrz9Q (envelope-from ) for ; Sat, 03 Apr 2021 12:00:54 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp39.gate.ord1d.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dmarc=none (p=nil; dis=none) header.from=unstable.cc X-Suspicious-Flag: YES X-Classification-ID: c4a2dad8-9495-11eb-a9bf-525400a97bbc-1-1 Received: from [216.105.38.7] ([216.105.38.7:60572] helo=lists.sourceforge.net) by smtp39.gate.ord1d.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 93/46-10287-53198606; Sat, 03 Apr 2021 12:00:54 -0400 Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1lSigq-0006t9-Fv; Sat, 03 Apr 2021 16:00:00 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSigp-0006t1-5b for openvpn-devel@lists.sourceforge.net; Sat, 03 Apr 2021 15:59:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=rTDVlPBPCWkWGH1tSPMRGR4a8ZIsTYWMPvdzfdE2+D8=; b=MhTBo/z/bWu1oJgb+HaQexgonI PcpY7xSt2Jmozwl2m5MPbPRJJCa+zwv/I+C7SB8GFjNoxMwqA3PtAw4dL735iGbDj1rEiVKrmltrd 1KYflimIKuSpjiz9mAgKCcWvgdjFgMS4YpX//XpGqaKAhBN2EcAPAeI0XXPz0ribPkFI=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=rTDVlPBPCWkWGH1tSPMRGR4a8ZIsTYWMPvdzfdE2+D8=; b=O BydQJbR7QS9ixfXkMv/W0ImQQWECJKiJgs9HE46xG9kanqAY/OBkjFMO+5gZ7t18wNo2RhXZspRLQ SEdI1rdw9vx0kYG4fUHFS1hrUqTIAB2eECEfSpPnHiYrV0A949HhL/dgjXXby6adCMF3930P35V3q +UsdyrmilSX66dUQ=; Received: from s2.neomailbox.net ([5.148.176.60]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1lSigg-00Bvon-4c for openvpn-devel@lists.sourceforge.net; Sat, 03 Apr 2021 15:59:56 +0000 From: Antonio Quartulli To: openvpn-devel@lists.sourceforge.net Date: Sat, 3 Apr 2021 17:59:37 +0200 Message-Id: <20210403155937.32330-1-a@unstable.cc> MIME-Version: 1.0 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: openvpn.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Headers-End: 1lSigg-00Bvon-4c Subject: [Openvpn-devel] [PATCH] tun.c: remove unused variable X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Antonio Quartulli Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox From: Antonio Quartulli Signed-off-by: Antonio Quartulli Acked-by: selva.nair@gmail.com --- src/openvpn/tun.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 6b7c8ef1..60a3a179 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -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();