From: "flichtenheld (Code Review)" Date: Mon, 16 Feb 2026 12:24:47 +0000 References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="cBGzNnScb2Y="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: clang-format: Add missing InsertBraces: true List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --cBGzNnScb2Y= 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/+/1529?usp=3Demail to review the following change. Change subject: clang-format: Add missing InsertBraces: true ...................................................................... clang-format: Add missing InsertBraces: true This takes care to add missing braces in case of one-line if-statements or loops. Apparently we never tested this specific error and we had no existing cases in the code when we did the reformat. Noticed this during a code review. Change-Id: Idb1e96a4d0a618089db4290c5980d192985b5d29 Signed-off-by: Frank Lichtenheld --- M .clang-format 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/29/1529/1 diff --git a/.clang-format b/.clang-format index 1cce4c3..cbec0a4 100644 --- a/.clang-format +++ b/.clang-format @@ -31,6 +31,7 @@ IndentGotoLabels: false IndentWidth: '4' IndentWrappedFunctionNames: false +InsertBraces: true KeepEmptyLinesAtTheStartOfBlocks: false MaxEmptyLinesToKeep: '2' PointerAlignment: Right -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1529?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: Idb1e96a4d0a618089db4290c5980d192985b5d29 Gerrit-Change-Number: 1529 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos --cBGzNnScb2Y= 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

clang-format: Add missing InsertBraces: tru=
e

This takes care to add missing braces in
case of one-line if-st= atements or loops.

Apparently we never tested this specific errorand we had no existing cases in the code when
we did the reformat. Noti= ced this during a code
review.

Change-Id: Idb1e96a4d0a618089db429= 0c5980d192985b5d29
Signed-off-by: Frank Lichtenheld <frank@...2641...= >
---
M .clang-format
1 file changed, 1 insertion(+), 0 deletio= ns(-)

git pull ssh://gerrit.openvpn.net:29418/op=
envpn refs/changes/29/1529/1
diff --git a/.clang-format b/.clang-fo=
rmat
index 1cce4c3..cbec0a4 100644
--- a/.c= lang-format
+++ b/.clang-format
@@ -31,6 +3= 1,7 @@
IndentGotoLabels: false
IndentWidt= h: '4'
IndentWrappedFunctionNames: false+InsertBraces: true
= KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLin= esToKeep: '2'
PointerAlignment: Right

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

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Idb1e96a4d0a618089db4290c598= 0d192985b5d29
Gerrit-Change-Number: 1529
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...>
= --cBGzNnScb2Y=--