[style] fix unused variables in release build (#4938)

* change package check build Release
This commit is contained in:
Yakun Xu
2020-05-09 17:15:21 -07:00
committed by GitHub
parent 92b290e018
commit 1dd0abc591
9 changed files with 85 additions and 8 deletions
+2
View File
@@ -335,10 +335,12 @@ EXAMPLES:
do_package() {
local builddir="${OT_BUILDDIR}/cmake/openthread-sim"
local options=(
"-DCMAKE_BUILD_TYPE=Release"
"-DOT_BORDER_AGENT=ON"
"-DOT_BORDER_ROUTER=ON"
"-DOT_CHILD_SUPERVISION=ON"
"-DOT_COMMISSIONER=ON"
"-DOT_COMPILE_WARNING_AS_ERROR=ON"
"-DOT_DIAGNOSTIC=ON"
"-DOT_IP6_FRAGM=ON"
"-DOT_JAM_DETECTION=ON"