提交 bac663dd 编写于 作者: Y yanghongliang

fix static check

Signed-off-by: Nyanghongliang <yang_hongliang@hoperun.com>
上级 ebc31386
......@@ -47,9 +47,9 @@ static int main_cmd(int argc, char* argv[])
if (argc == REBOOT_CMD_NUMBER && strcmp(argv[1], "shutdown") != 0 &&
strcmp(argv[1], "updater") != 0 &&
strcmp(argv[1], "flashd") != 0 &&
#ifdef PRODUCT_RK
strcmp(argv[1], "loader") !=0 &&
#endif
#ifdef PRODUCT_RK
strcmp(argv[1], "loader") != 0 &&
#endif
strncmp(argv[1], "updater:", strlen("updater:")) != 0 &&
strncmp(argv[1], "flashd:", strlen("flashd:")) != 0) {
printf("%s", USAGE_INFO);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册