summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CODING_STANDARDS5
1 files changed, 5 insertions, 0 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS
index b588a88f3b..faebc77663 100644
--- a/CODING_STANDARDS
+++ b/CODING_STANDARDS
@@ -110,6 +110,11 @@ Exceptions:
Function calls in assert conditions may also cause this problem, if
they modify one of their arguments or global variables.
+[9] When commenting out code using a #if statement, do NOT use 0 only. Append
+ to any 0 an _<cvs username here>. For example, #if 0_FOO, where FOO is
+ cvs user foo. This allows easier tracking of why code was commented out,
+ especially in bundled libraries.
+
Naming Conventions
------------------