From: "cron2 (Code Review)" Date: Thu, 30 Oct 2025 16:43:34 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <2470e1477c49c55bb780c138293bdfaab56d38a9-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="O7ggai7CwRY="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: mudp/mtcp: Remove -Wconversion pragmas List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --O7ggai7CwRY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/13= 24?usp=3Demail ) Change subject: mudp/mtcp: Remove -Wconversion pragmas ...................................................................... mudp/mtcp: Remove -Wconversion pragmas These were implictly fixed by the fixes to the hash API in commit a69aac41c4b2ccff1084736c158d7cf8474be533. ("list: Make types of hash elements consistent") Change-Id: Iacec5920cdc3e16aaf777f843ef1f4a00a6a9043 Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1324 Message-Id: <20251030145124.2607-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34= 035.html Signed-off-by: Gert Doering --- M src/openvpn/mtcp.c M src/openvpn/mudp.c 2 files changed, 0 insertions(+), 18 deletions(-) diff --git a/src/openvpn/mtcp.c b/src/openvpn/mtcp.c index 83edec6..81310a2 100644 --- a/src/openvpn/mtcp.c +++ b/src/openvpn/mtcp.c @@ -45,11 +45,6 @@ unsigned int sock; }; -#if defined(__GNUC__) || defined(__clang__) -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wconversion" -#endif - struct multi_instance * multi_create_instance_tcp(struct multi_context *m, struct link_socket *soc= k) { @@ -125,10 +120,6 @@ return true; } -#if defined(__GNUC__) || defined(__clang__) -#pragma GCC diagnostic pop -#endif - void multi_tcp_instance_specific_free(struct multi_instance *mi) { diff --git a/src/openvpn/mudp.c b/src/openvpn/mudp.c index a373a6a..31134be 100644 --- a/src/openvpn/mudp.c +++ b/src/openvpn/mudp.c @@ -180,11 +180,6 @@ return false; } -#if defined(__GNUC__) || defined(__clang__) -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wconversion" -#endif - /* * Get a client instance based on real address. If * the instance doesn't exist, create it while @@ -315,10 +310,6 @@ return mi; } -#if defined(__GNUC__) || defined(__clang__) -#pragma GCC diagnostic pop -#endif - /* * Send a packet to UDP socket. */ -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1324?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Iacec5920cdc3e16aaf777f843ef1f4a00a6a9043 Gerrit-Change-Number: 1324 Gerrit-PatchSet: 3 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --O7ggai7CwRY= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 sub= mitted this change.

View Change

mudp/mtcp: Remove -Wconversion pragmas

Th= ese were implictly fixed by the fixes to
the hash API in commit
a69aa= c41c4b2ccff1084736c158d7cf8474be533.
("list: Make types of hash ele= ments consistent")

Change-Id: Iacec5920cdc3e16aaf777f843ef1f4a0= 0a6a9043
Signed-off-by: Frank Lichtenheld <frank@...2641...>
Ac= ked-by: Gert Doering <gert@...1296...>
Gerrit URL: https://gerrit.= openvpn.net/c/openvpn/+/1324
Message-Id: <20251030145124.2607-1-gert@= ...1296...>
URL: https://www.mail-archive.com/openvpn-devel@...1885...= rceforge.net/msg34035.html
Signed-off-by: Gert Doering <gert@...1725...= ..>
---
M src/openvpn/mtcp.c
M src/openvpn/mudp.c
2 files ch= anged, 0 insertions(+), 18 deletions(-)

diff --git a/src/openvpn/mtcp.c b/src/openvpn/mtcp.c
ind= ex 83edec6..81310a2 100644
--- a/src/openvpn/mtcp.c<= br>+++ b/src/openvpn/mtcp.c
@@ -45,11 +45,6 @@=
unsigned int sock;
};

-#if defined(__GNUC__) || = defined(__clang__)
-#pr= agma GCC diagnostic push
-#endif
-
struct multi_instance *
<= span> multi_create_instance_tcp(struct multi_context *m, struct link_socket= *sock)
{
@@ -125,10 +120,6 @@
<= span> return true;
}

-#if defined(__GNUC__) || defined(__cl= ang__)
-#pragma GCC dia= gnostic pop
-#endif
-
void
multi_tcp_instance_specific_free(struct multi_instance *mi)<= /span>
{
diff --git a/src/openvpn/mudp.c b/src/op= envpn/mudp.c
index a373a6a..31134be 100644
= --- a/src/openvpn/mudp.c
+++ b/src/openvpn/mudp.c@@ -180,11 +180,6 @@
return false;
}


-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wconv= ersion"
-#endif
-
/*
* Get a client instance based on real address. If * the instance doesn't exist, create it while
= @@ -315,10 +310,6 @@
return mi;
}

-#if def= ined(__GNUC__) || defined(__clang__)
-#pragma GCC diagnostic pop
-#endif
-
/*
* Send a packet to UDP socket.<= /span>
*/

To view, visit change 1324= . To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Iacec5920cdc3e16aaf777f843ef= 1f4a00a6a9043
Gerrit-Change-Number: 1324
Gerrit-PatchSet: 3
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --O7ggai7CwRY=--