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:
pef
2021-10-18 03:51:07 +00:00
parent badf1e9557
commit e0d8b5328f
9 changed files with 179 additions and 174 deletions

View File

@@ -32,6 +32,7 @@
#include "stdlib.h"
#include "shcmd.h"
#include "shell.h"
#include "los_memory.h"
#define MEM_SIZE_1K 0x400
#define MEM_SIZE_1M 0x100000