!108 fix:delete redundant local variable

Merge pull request !108 from Harylee/delete
This commit is contained in:
openharmony_ci 2021-05-06 19:28:22 +08:00 committed by Gitee
commit 4163a99123
1 changed files with 0 additions and 1 deletions

View File

@ -157,7 +157,6 @@ int sem_timedwait(sem_t *sem, const struct timespec *timeout)
{
UINT32 ret;
long long tickCnt;
struct timespec tsNow = { 0 };
if ((sem == NULL) || (sem->s_magic != _SEM_MAGIC)) {
errno = EINVAL;