diff --git a/src/V3Control.cpp b/src/V3Control.cpp index 6f2828ecc..a1f432a22 100644 --- a/src/V3Control.cpp +++ b/src/V3Control.cpp @@ -434,11 +434,11 @@ public: if (code.hardError()) return false; for (const auto& itr : m_waivers) { if ((code.isUnder(itr.m_code) || (itr.m_code == V3ErrorCode::I_LINT))) - if ((code.isUnder(itr.m_code) || (itr.m_code == V3ErrorCode::I_LINT)) - && VString::wildmatch(message, itr.m_match) - && WildcardContents::resolve(itr.m_contents)) { - return true; - } + if ((code.isUnder(itr.m_code) || (itr.m_code == V3ErrorCode::I_LINT)) + && VString::wildmatch(message, itr.m_match) + && WildcardContents::resolve(itr.m_contents)) { + return true; + } } return false; }