diff options
| author | liuxianliang <[email protected]> | 2022-01-24 14:35:50 +0800 |
|---|---|---|
| committer | guo <[email protected]> | 2022-01-24 14:42:22 +0800 |
| commit | 11d83225d6c773e6c05aa26d1a5f152beb75e5e4 (patch) | |
| tree | 5023d330ea68bf31c0fe6350b81803dddf8ab66a /components | |
| parent | cd72ef6ecb1e5624ee7eaafb93f3b8cce0e17248 (diff) | |
[remove] useless variable.
Diffstat (limited to 'components')
| -rw-r--r-- | components/libc/compilers/common/time.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/libc/compilers/common/time.c b/components/libc/compilers/common/time.c index a963b25f1a..71755b8bbb 100644 --- a/components/libc/compilers/common/time.c +++ b/components/libc/compilers/common/time.c @@ -852,7 +852,6 @@ int timer_gettime(timer_t timerid, struct itimerspec *its) struct timer_obj *timer = (struct timer_obj *)timerid; rt_tick_t remaining; rt_uint32_t seconds, nanoseconds; - rt_int64_t nsecs, secs; if (timer == NULL) { @@ -918,7 +917,6 @@ int timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue) { struct timer_obj *timer = (struct timer_obj *)timerid; - rt_uint32_t duration, current; if (timer == NULL || value->it_interval.tv_nsec < 0 || |
