diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md index 83976e3a3..60200dce4 100644 --- a/docs/CODING_STYLE.md +++ b/docs/CODING_STYLE.md @@ -54,6 +54,7 @@ void function_with_short_args(int arg1, const int arg2, const int arg3, ...) // You can use braces {} if the condition has multiple lines // or the if-body has multiple lines. if (condition1 || condition2) { + ... return; } @@ -61,9 +62,6 @@ void function_with_short_args(int arg1, const int arg2, const int arg3, ...) ... } - // We prefer to avoid whitespaces between "var=initial_value" - // or "var