未验证 提交 87a513a2 编写于 作者: O openharmony_ci 提交者: Gitee

!2910 Openharmony3.1.5.5 Hi3516DV300 L1 Lite条件宏和未被使用的变量编译告警问题修复上库

Merge pull request !2910 from 胡吉翔/lite_20220328_1
......@@ -451,7 +451,10 @@ static int CapgetWithVersion(pid_t pid, unsigned int version)
}
return 0;
}
#endif
#if (defined(_BOARD_HI3516_) && defined(LITE_FS_VFAT)) ||
(!defined(_BOARD_HI3516_) && (defined(LITE_FS_JFFS2) || defined(LITE_FS_VFAT)))
static int CapgetWithCaps(pid_t pid, unsigned int caps)
{
struct __user_cap_header_struct capheader = { 0 };
......
......@@ -42,7 +42,6 @@ static void CreateDevDir()
static void CreateDevTxt()
{
int ret;
int fd = 0;
// Initialize the process and set the uid and gid of the process to zero
SetUidGid(UID0, GID0);
// Create a directory 'DACDIR0' in the directory '/storage'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册