Skip to content

Commit 7e3c807

Browse files
committed
Change syntax: add brackets to condition block
1 parent bb70ff0 commit 7e3c807

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

headers/modsecurity/rules_set_properties.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ class ConfigValue {
8888
ConfigValue() = default;
8989

9090
void merge(const ConfigValue<T>* from) {
91-
if (m_set || !from->m_set) return;
91+
if (m_set || !from->m_set) {
92+
return;
93+
}
9294
m_set = true;
9395
m_value = from->m_value;
9496
}

0 commit comments

Comments
 (0)