From cd2521f53af5ec7cbdbe3c5a16abcaa6f09a3377 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Thu, 15 Nov 2018 17:20:36 -0800 Subject: [PATCH] [style] add use of OT_UNUSED_VARIABLE (#3299) --- STYLE_GUIDE.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/STYLE_GUIDE.md b/STYLE_GUIDE.md index fa8d95a83..1f25bef98 100644 --- a/STYLE_GUIDE.md +++ b/STYLE_GUIDE.md @@ -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