From 7e3c807c0d5e16c7e562365ecffd3528101145ef Mon Sep 17 00:00:00 2001 From: Ervin Hegedus Date: Sun, 27 Jul 2025 17:06:12 +0200 Subject: [PATCH] Change syntax: add brackets to condition block --- headers/modsecurity/rules_set_properties.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/headers/modsecurity/rules_set_properties.h b/headers/modsecurity/rules_set_properties.h index 06bb15b8..cd1f3f7c 100644 --- a/headers/modsecurity/rules_set_properties.h +++ b/headers/modsecurity/rules_set_properties.h @@ -88,7 +88,9 @@ public: ConfigValue() = default; void merge(const ConfigValue* from) { - if (m_set || !from->m_set) return; + if (m_set || !from->m_set) { + return; + } m_set = true; m_value = from->m_value; }