From 9f552598ff19b0db5018ee0cf58601c00c9c0f0e Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 18 Dec 2024 08:41:51 -0300 Subject: [PATCH] Minor fixes in coding style guide --- docs/CODING_STYLE.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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