Skip to content
Snippets Groups Projects
Commit 5363d061 authored by Sebastien Lorquet's avatar Sebastien Lorquet
Browse files

Fix warnings

parent 8e029f01
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,6 @@ static bool timer_notifier(FAR uint32_t *next_interval_us, FAR void *arg)
#ifdef CONFIG_CAN_PASS_STRUCTS
union sigval value;
#endif
int ret;
DEBUGASSERT(upper != NULL);
......@@ -139,9 +138,9 @@ static bool timer_notifier(FAR uint32_t *next_interval_us, FAR void *arg)
#ifdef CONFIG_CAN_PASS_STRUCTS
value.sival_ptr = upper->arg;
ret = sigqueue(upper->pid, upper->signo, value);
(void)sigqueue(upper->pid, upper->signo, value);
#else
ret = sigqueue(upper->pid, upper->signo, upper->arg);
(void)sigqueue(upper->pid, upper->signo, upper->arg);
#endif
return true;
......
......@@ -46,6 +46,7 @@
#include <nuttx/irq.h>
#include <nuttx/fs/ioctl.h>
#include <stdbool.h>
#include <sys/types.h>
#ifdef CONFIG_TIMER
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment