!1087 【OpenHarmony开源贡献者计划2022】fix warning: unused parameter 'curr'

Merge pull request !1087 from 数字猿/master
This commit is contained in:
openharmony_ci 2022-08-17 09:59:21 +00:00 committed by Gitee
commit 249f96b496
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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
}