Message ID | 20250711100405.240625-1-frank@lichtenheld.com |
---|---|
State | New |
Headers | show
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net> Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:3846:b0:671:5a2c:6455 with SMTP id n6csp9636239mal; Fri, 11 Jul 2025 03:21:40 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW8KPkNA8ftuETk8u2by7OgxZT7as+HnAvF/EP+cn8/hHFQrApO2JpwmUAMSBxmB531qWH43AcnvPk=@openvpn.net X-Google-Smtp-Source: AGHT+IENpvNtVjuvKHm0uFF9uzQMA6+wDjVMPYqLW0tJDimsVWKlBhVsJ/PSA/QWz3pKdEenofD9 X-Received: by 2002:a05:6871:6113:b0:2ea:841f:773c with SMTP id 586e51a60fabf-2ff269b4038mr2146579fac.35.1752229300204; Fri, 11 Jul 2025 03:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1752229300; cv=none; d=google.com; s=arc-20240605; b=UN7wVicYpKw+983WaLIdaO9mK8Tw8QnLdMI7bW8gq8RJpOE9xjzNJca7zqUcV7KDrS NjkPP+hxDy/odjURCyIRFEJT3f1RXt4JBfR8yfrrLFYJT4WrF5wsZJaraIMyUSErWb2H Pxg7lgI1fA7lOtD+UbZ7BKBeWyy2MjK5WjZ1ZZSU77C1Mw+jrCrLHW5fpuT5q8ZTU7wM 98DBlLDOyb07Avqxx5qtnhnWjAIPuxtCzYEg4PUCb17BzDJGdnToWr4qp3oGNMZraJTy jUo/TT2WOFFX04kfzd3gMUMD1IzWFvmvEsoMMaBD7wvgT95aXuvVuw/c/vNiaqzDEAoy BpWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:content-transfer-encoding:cc: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:dkim-signature; bh=yvCOkApJ9jnmP8Qku/puRXlb93ouohOE3f1CxnNyUZY=; fh=CfxSpwd5kfiMJoL3kcov7PTxVKT7pGe/79idnx9XlBs=; b=KghDNo1CbJ+4UGE70S0Q6K7YciE38e4hJ8yLu5SUAxqDJBWGJCFOC6ScW+WJXSeiqK lCGdI5wTlG+bHILj6nnuF5GuCcMRV5o2pEJOPPgQrLjrKIiYHROR6JEtfWBjTRGJwJOt POYkegdYHW2Z23kywmtfLfUMnef93FmYUdk3kbTW43QAb9yWbyWa1muht9Yoe2iZA1M4 Z66IvovOHhKSozMa1z3nNsmsrtA3UnJB2KQ4YRxVXprE4b+h+QHxfeuo0aoEhLQvi1fO sXMntliREoZxiKg3PZbLx9jywTQ67QXojr4/TiyvDhXv0fUuaW8KmVXOKpD8CQKDr31p VD7A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=YW9lh3sX; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=YuT321ux; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=LmCwPqr3; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=Te1rSGpj; 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 Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 46e09a7af769-73cf127944csi1927413a34.117.2025.07.11.03.21.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Jul 2025 03:21:40 -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=YW9lh3sX; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=YuT321ux; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=LmCwPqr3; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=Te1rSGpj; 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 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:Cc: 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:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yvCOkApJ9jnmP8Qku/puRXlb93ouohOE3f1CxnNyUZY=; b=YW9lh3sXu1uq2fOR8ZeZc3qUB1 jgMPD3VdXTOX4gZVKDSEB1Qviv9GeewVS+UWjwtBzwc3N74MhyVWcsSqGM42SJmM1SUEXZAw2RcZ/ dmbwlhExO7o0+RTwipj15Hl/Yw2l2ebms/TfypTKtTYIGahEGtkc4WPow8I4oCf3R8zU=; 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.95) (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) id 1uaAss-00058F-3C; Fri, 11 Jul 2025 10:21:38 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <frank@lichtenheld.com>) id 1uaAsr-000588-Fj for openvpn-devel@lists.sourceforge.net; Fri, 11 Jul 2025 10:21:37 +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: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:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AqKkPjSZoemznH6acJlq+/0WezBtSWhFS1RZTpRy7Sk=; b=YuT321uxSBurvwuXSmQ5N+Mcxl MrRnJt4ysnzF8E9zseFWHfu8wW5yFgWVZLwmJSTg+zK/Z3kjQZLFRPcA5/TAi03mNT/cEOJDSml5Z NY9uJnVLt7y+Gma0E6YW7gaHF0kVuTQ4jY0hikxzJjDwBNxQAUlkSXxpUTMTTnrVqwpA=; 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: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:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AqKkPjSZoemznH6acJlq+/0WezBtSWhFS1RZTpRy7Sk=; b=LmCwPqr3L3ZcCarrA50rCuZwIf XHjF2L4mHSfzlPz8EkUzqOUlT5gCuKKKstCqXUi+hx6IElNthp2inKEv9MU4Q4g0IqSon+goY5UwU 6Wltc+a+KgO5/XfbPj859NWLZvzIM1hmKL6Xu5cYxdpCYPGSRQoASZBbDFBa/SPaaaaQ=; Received: from mout-p-201.mailbox.org ([80.241.56.171]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1uaAsq-0004jh-TF for openvpn-devel@lists.sourceforge.net; Fri, 11 Jul 2025 10:21:37 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4bdnP432TFz9shm; Fri, 11 Jul 2025 12:04:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lichtenheld.com; s=MBO0001; t=1752228248; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AqKkPjSZoemznH6acJlq+/0WezBtSWhFS1RZTpRy7Sk=; b=Te1rSGpjE0jzVRFn5DsQShgr+5Zzq3+fdPKHnZwW9Qox443CeHTH5220kWb8DpW5IWJFPK bxyysHb7qqBeBKMkHT4EvQau1YIRsqhCrBkubiE68jVa8jUq9kIMsQ3LHQGJCwpAtpX9ka AthkMH0rkBQYDZarh55jw8yAr3zPRxzy9XONilYXfFUeEKrSvUwZA1FLL70qUeraKidjfk onVI1Dfu7lRK5ItQYrazAEHq3gqaI3NaaibyOv7sPGlLMxNutyc+ipeT/y//2whVYQz+cq tVxvYe0ld7FCBeI/g/2F4ZywrqTd3GV5SqX56X2cIOatg0MuYVZQr/ygjc1D9A== Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of frank@lichtenheld.com designates 2001:67c:2050:b231:465::2 as permitted sender) smtp.mailfrom=frank@lichtenheld.com From: Frank Lichtenheld <frank@lichtenheld.com> To: openvpn-devel@lists.sourceforge.net Date: Fri, 11 Jul 2025 12:04:05 +0200 Message-Id: <20250711100405.240625-1-frank@lichtenheld.com> In-Reply-To: <gerrit.1752140383000.Icad1a52d14311a6f06bda081cab2f4bded8d47ed@gerrit.openvpn.net> References: <gerrit.1752140383000.Icad1a52d14311a6f06bda081cab2f4bded8d47ed@gerrit.openvpn.net> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4bdnP432TFz9shm X-Spam-Score: -0.2 (/) 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: 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> --- Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1uaAsq-0004jh-TF Subject: [Openvpn-devel] [PATCH v1] Fix compiler warning in reliable.c with --disable-debug X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: <openvpn-devel.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel> List-Post: <mailto:openvpn-devel@lists.sourceforge.net> List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe> Cc: Arne Schwabe <arne-openvpn@rfc2549.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1837345590707154549?= X-GMAIL-MSGID: =?utf-8?q?1837345590707154549?= |
Series |
[Openvpn-devel,v1] Fix compiler warning in reliable.c with --disable-debug
|
expand
|
Interesting trick :-) Looking forward to see the first patch come in to remove this "totally useless line" again. But that's what "git blame" is for... Since the buildbots are happy and this line explicitly does nothing I have not tested this further. Your patch has been applied to the master branch. commit fcd8f0f9fccdba02ed643dee5df7422ba36ced12 Author: Frank Lichtenheld Date: Fri Jul 11 12:04:05 2025 +0200 Fix compiler warning in reliable.c with --disable-debug 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> -- kind regards, Gert Doering
diff --git a/src/openvpn/reliable.c b/src/openvpn/reliable.c index 6aef112..424d194 100644 --- a/src/openvpn/reliable.c +++ b/src/openvpn/reliable.c @@ -648,6 +648,7 @@ } } } + (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,