[style] add use of OT_UNUSED_VARIABLE (#3299)

This commit is contained in:
Jonathan Hui
2018-11-15 17:20:36 -08:00
parent e14d763e2e
commit cd2521f53a
+2
View File
@@ -75,6 +75,8 @@
- The symbol used for the guard should be the file name, converted to all uppercase, with any spaces (“ “) or dots (“.”) converted to underscores (“_”).
- Function and Method Prototypes
- All void functions or methods shall explicitly declare and specify the void type keyword.
- Unused parameters
- All unused parameters shall be declared as such using the `OT_UNUSED_VARIABLE` macro at the top of a function or method before all local variable declarations.
### C