summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CODING_STYLE1
1 files changed, 1 insertions, 0 deletions
diff --git a/CODING_STYLE b/CODING_STYLE
index c5336cc0..3378bd36 100644
--- a/CODING_STYLE
+++ b/CODING_STYLE
@@ -46,6 +46,7 @@
- declare variables at the top, try to keep them as local as possible.
Exception: if the same variable is re-used in multiple blocks, declare it
at the top.
+ Exception: basic loop variables, e.g. for (int i = 0; ...)
int a;
int c;