diff --git a/docs/CodingStandards.rst b/docs/CodingStandards.rst index a108666ce7e..e7e5f23aef0 100644 --- a/docs/CodingStandards.rst +++ b/docs/CodingStandards.rst @@ -528,12 +528,11 @@ example, this is *bad*: if (Type.isNull()) { Error = ASTContext::GE_Missing_jmp_buf; return QualType(); - } else { + } else { break; - } + } } } - } It is better to write it like this: