fix: 修复shell 模块存在大量的编译告警及codeCheck。
【背景】 代码中存在规范问题和编译告警。 如:error: unused variable 'taskID2' [-Werror=unused-variable] 应该去掉不用的变量。 【修改方案】 1. 修改变量类型宏的使用。 2. 根据告警信息修复问题代码。 【影响】 对现有的产品编译不会有影响。 re #I48V2J Change-Id: I7f364fcf974d2a439639f35ba428e04f7de7338a Signed-off-by: pef <cyd1997@126.com>
This commit is contained in:
@@ -50,6 +50,8 @@ static_library("shell") {
|
||||
"./include",
|
||||
]
|
||||
|
||||
configs += [ "$LITEOSTOPDIR:los_config" ]
|
||||
|
||||
if (enable_ohos_kernel_liteos_m_lwip) {
|
||||
defines = [ "LWIP_SHELLCMD_ENABLE" ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user