提交 4c024159 编写于 作者: A arvinzzz

fix: 修复启动框架debug模式下-Werror=maybe-uninitialized告警以及符号链接不进镜像的隐患

close: #I3T5HR
Change-Id: I2e2452d59c82726614fb78d1177d3f0f03d6e315
Signed-off-by: Narvinzzz <fcykztyu@163.com>

Change-Id: I7f0b44c15a296bd8d15f0bf1fbdde60f67bb0a6c
上级 9b364500
......@@ -62,7 +62,7 @@ STATIC VOID InitLevelCall(const CHAR *name, const UINT32 level, struct ModuleIni
UINT64 startNsec, endNsec;
UINT64 totalTime = 0;
UINT64 singleTime = 0;
UINT32 ret;
UINT32 ret = LOS_OK;
#endif
if (ArchCurrCpuid() == 0) {
......
......@@ -120,7 +120,21 @@ LITEOS_TABLES_KERNEL_INIT_LDFLAGS := \
-ulos_vfs_init \
-uProcFsInit \
-uOsDriverRandomInit \
-uHieventInit
-uHieventInit \
-uOsBsdInit \
-uShmInit \
-uOsDmesgInit \
-uOsLkLoggerInit \
-uOsCpupInit \
-uOsFutexInit \
-uOsSysWorkQueueInit \
-uOsSyscallHandleInit \
-upipe_init \
-uOomTaskInit \
-uOsCpupGuardCreator \
-uOsMpInit \
-uOsResourceFreeTaskCreate \
-uOsSystemInit
LITEOS_TABLES_DRIVER_LDFLAGS := \
-ui2c_init \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册