From: "flichtenheld (Code Review)" Date: Wed, 29 Oct 2025 13:07:29 +0000 References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <8b07e1b908c3ea6c6bed474a706828dd9a9af881-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="lpH9ttQ+/YY="; 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: plaisthos Cc: openvpn-devel --lpH9ttQ+/YY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/1324?usp=3Demail to review the following change. Change subject: mudp/mtcp: Remove -Wconversion pragmas ...................................................................... mudp/mtcp: Remove -Wconversion pragmas Change-Id: Iacec5920cdc3e16aaf777f843ef1f4a00a6a9043 Signed-off-by: Frank Lichtenheld --- M src/openvpn/mtcp.c M src/openvpn/mudp.c 2 files changed, 0 insertions(+), 18 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/24/1324/1 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: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Iacec5920cdc3e16aaf777f843ef1f4a00a6a9043 Gerrit-Change-Number: 1324 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos --lpH9ttQ+/YY= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

flichtenheld would like plaisthos to review this change.

V= iew Change

mudp/mtcp: Remove -Wconversion pragmas
<= br>Change-Id: Iacec5920cdc3e16aaf777f843ef1f4a00a6a9043
Signed-off-by: F= rank Lichtenheld <frank@...2641...>
---
M src/openvpn/mtcp.cM src/openvpn/mudp.c
2 files changed, 0 insertions(+), 18 deletions(-)<= br>
git pull ssh://gerrit.openvpn.net:29418/openvpn =
refs/changes/24/1324/1
diff --git a/src/openvpn/mtcp.c b/src/openvp=
n/mtcp.c
index 83edec6..81310a2 100644
--- = a/src/openvpn/mtcp.c
+++ b/src/openvpn/mtcp.c
@@ -45,11 +45,6 @@
unsigned int sock;
};

-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wconv= ersion"
-#endif
-
struct= multi_instance *
multi_create_instance_tcp(struct multi_c= ontext *m, struct link_socket *sock)
{
@@ = -125,10 +120,6 @@
return true;
}

-#if defi= ned(__GNUC__) || defined(__clang__)
-#pragma GCC diagnostic pop
-#endif
-
void
multi_tcp_instance_specific_fre= e(struct multi_instance *mi)
{
diff --git = a/src/openvpn/mudp.c b/src/openvpn/mudp.c
index a373a6a..31= 134be 100644
--- a/src/openvpn/mudp.c
+++ b= /src/openvpn/mudp.c
@@ -180,11 +180,6 @@
= return false;
}

-#if defined(__GNUC__) || defined(__clang__)=
-#pragma GCC diagnosti= c push
-#pragma GCC dia= gnostic ignored "-Wconversion"
-#endif
-
/*
* Get a client instance based on= real address. If
* the instance doesn't exist, crea= te it while
@@ -315,10 +310,6 @@
retur= n mi;
}

-#if defined(__GNUC__) || defined(__clang__)
= -#pragma GCC diagnostic pop
-#endif
-
/*
* S= end a packet to UDP socket.
*/

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

=
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Iacec5920cdc3e16aaf777f843ef= 1f4a00a6a9043
Gerrit-Change-Number: 1324
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
= --lpH9ttQ+/YY=--