From patchwork Sat Oct 4 14:19:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 4460 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:7505:b0:72f:f16c:e055 with SMTP id r5csp5831465mai; Sat, 4 Oct 2025 07:20:01 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWH2vCxNAlbpUSeeh7myGFdWU5qA1WD8xmQpJzLWC3StV7T5KW3/35kXaTJEWpxmR4nt+2RzlwjKPo=@openvpn.net X-Google-Smtp-Source: AGHT+IFQZrmbs0UJtgTX15/eKVHT0PLycG0E88IRbnsyiU2PiyhW0xm8rGkTACIW6l2+sbPcByeI X-Received: by 2002:a05:6830:6011:b0:7b9:7d41:1031 with SMTP id 46e09a7af769-7bf77235301mr3621032a34.14.1759587601682; Sat, 04 Oct 2025 07:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1759587601; cv=none; d=google.com; s=arc-20240605; b=j6L/b90NWFvDJlL/P+8Z+viek+bkFvbuokl3+GCfm5yQyU6kxztTkaCA/lAcwySYld 06mXc/WtkBIN7nNgs6lMhDOXBhV+LbbcCvOTe4saaiVQLWw+hKYViGgU9gjByK2UAMGd Y4GtN3tBo2qVt4v7lpqI+5SUnQdeMZK/MUe2i7DbpdkLFoBOUvmtRml7tqQQuS0F+N/U h9g40XzK7PLMUfHWbOoZoSqt8rCTfVvg2TgAr+rrH8b6Px7VPlc7m71aUpq3CKPA5ZXP RXfUDyrCU+PKsAtQe8J9zAkbiu6Yux55pQOoMycDAOw7WAceU/gJANXzLKUpY8OuECVW u7ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature:dkim-signature; bh=eJW9f5vAMN9E0XwOGXxmSTv3m1wmF+smXgo+5a4WzJo=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=AuHxRAOoJfp70QUUKK423iqhU/AWpYuA8A90zjUHavh8+Rb+rY/Um4zNucdDtZ8FxP taHAjLGBRC0DsjcauF2SrvmLFCxtS1+Cm6Ez+8JrBAgUKNnnmuwgW9wzKlvoU9vIt5fZ V2hY9kobTcCm6Vqpo/ov3He4jcLxdo+vE/JrI6uakrN18jMoChuxW1Tl37XSRp13w1tW qZ/c68KWhMNHSI58TBp4+5KtSOwqpjuIUgQywV6C0F3Jsk2IEqOjRqVnZ7soRH2M2cDE DXkTdC9aasS03P8lpxhj7zsyouO9YWC2jU8oLHmlAf3ByYkxS49L12LQVLO8RSB+UFZq eQew==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=Oao0Zuph; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=QtcVIuga; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=ND6WDVBs; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 46e09a7af769-7bf438db99esi2047769a34.500.2025.10.04.07.20.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Oct 2025 07:20:01 -0700 (PDT) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=Oao0Zuph; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=QtcVIuga; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=ND6WDVBs; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Subject:MIME-Version:References:In-Reply-To:Message-ID:Date:To:From:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eJW9f5vAMN9E0XwOGXxmSTv3m1wmF+smXgo+5a4WzJo=; b=Oao0ZuphObYYh/u7lAmjlCo90G On7+c+RBzq3oB4llHESW5oxMliemhw3EpU3gYyeQhDxXh6GiAGSt54tM1x4ZXH2WOEmBUgla8LxMJ vdEz5yjFJamp1hijcAl6yj9Vxh5uhIYaLaeQwLAHpSo08Kipn+wIlaNc66bB6Ijz15Fs=; Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1v5371-0007AB-90; Sat, 04 Oct 2025 14:19:51 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1v536z-0007A5-LK for openvpn-devel@lists.sourceforge.net; Sat, 04 Oct 2025 14:19:49 +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:References: In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lav/ViZZffJVyq7L9E5XVbK3B5Bg2PN36owq0ykDAOI=; b=QtcVIuga84wlvD2OVlxB3JWTDu iq+yopB2USov9lEin08Kqo0XRIPwDfC/1evMscanB7E9pcMBkC7oVoNLWJefJEqit8C2bVQPbw03L KbhSzJGq9xLdWY90QbjRaWLe3NtFpOjDOj9WEmcfDueZtiXuGaSwexDXGT6S2VPyWh+Q=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lav/ViZZffJVyq7L9E5XVbK3B5Bg2PN36owq0ykDAOI=; b=ND6WDVBsEL4+4juEdxYGc9/zS6 R/J0R2cxLXzLqBEFCGSChOwk+XyqRX9GMD4dwmuTVTGR8KW6vlmg79dH5U3onlBtfabvbTEYHk5Gb U/+0Fg6Lqvh6NbQ7QeR4tnbhPpKMiDdKWS4Ix1ByLBK2+7LWUAubk9Aw+kczD3gRFsz4=; Received: from [193.149.48.134] (helo=blue.greenie.muc.de) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1v536y-0002H0-Jg for openvpn-devel@lists.sourceforge.net; Sat, 04 Oct 2025 14:19:49 +0000 Received: from blue.greenie.muc.de (localhost [127.0.0.1]) by blue.greenie.muc.de (8.18.1/8.18.1) with ESMTP id 594EJaA5017832 for ; Sat, 4 Oct 2025 16:19:36 +0200 Received: (from gert@localhost) by blue.greenie.muc.de (8.18.1/8.18.1/Submit) id 594EJaqx017831 for openvpn-devel@lists.sourceforge.net; Sat, 4 Oct 2025 16:19:36 +0200 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Sat, 4 Oct 2025 16:19:30 +0200 Message-ID: <20251004141935.17815-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.49.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "sfi-spamd-2.hosts.colo.sdot.me", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Frank Lichtenheld So we could enable -Werror for OpenBSD builds. Change-Id: Ic971604beb1320d7b9d6121cd8e8519ccc1a7eb9 Signed-off-by: Frank Lichtenheld Acked-by: MaxF Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/ [...] Content analysis details: (1.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Headers-End: 1v536y-0002H0-Jg Subject: [Openvpn-devel] [PATCH v1] route: Fix a unused-but-set-variable warning on OpenBSD 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: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1845061329039166988?= X-GMAIL-MSGID: =?utf-8?q?1845061329039166988?= From: Frank Lichtenheld So we could enable -Werror for OpenBSD builds. Change-Id: Ic971604beb1320d7b9d6121cd8e8519ccc1a7eb9 Signed-off-by: Frank Lichtenheld Acked-by: MaxF Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1214 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1214 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): MaxF diff --git a/src/openvpn/route.c b/src/openvpn/route.c index 156a99e..05a0c8f 100644 --- a/src/openvpn/route.c +++ b/src/openvpn/route.c @@ -2221,6 +2221,7 @@ device = r6->iface; gateway_needed = true; } + (void)device; /* unused on some platforms */ /* if we used a gateway on "add route", we also need to specify it on * delete, otherwise some OSes will refuse to delete the route