mirror of
https://gitee.com/openharmony/startup_init
synced 2025-03-03 10:09:50 +00:00
!1087 【OpenHarmony开源贡献者计划2022】fix warning: unused parameter 'curr'
Merge pull request !1087 from 数字猿/master
This commit is contained in:
commit
249f96b496
@ -314,6 +314,8 @@ INIT_LOCAL_API uint32_t Difftime(time_t curr, time_t base)
|
||||
#ifndef __LITEOS_M__
|
||||
return (uint32_t)difftime(curr, base);
|
||||
#else
|
||||
(void)curr;
|
||||
(void)base;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user