mirror of
https://github.com/apache/nuttx.git
synced 2026-09-28 01:53:48 +00:00
arch/sim/src/sim/up_oneshot.c: Eliminate warning from build test.
This commit is contained in:
parent
21aef0dd68
commit
5d850fb197
1 changed files with 2 additions and 0 deletions
|
|
@ -288,8 +288,10 @@ static int sim_cancel(FAR struct oneshot_lowerhalf_s *lower,
|
|||
static int sim_current(FAR struct oneshot_lowerhalf_s *lower,
|
||||
FAR struct timespec *ts)
|
||||
{
|
||||
#ifdef CONFIG_DEBUG_ASSERTIONS
|
||||
FAR struct sim_oneshot_lowerhalf_s *priv =
|
||||
(FAR struct sim_oneshot_lowerhalf_s *)lower;
|
||||
#endif
|
||||
|
||||
DEBUGASSERT(priv != NULL && ts != NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue