mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/event: fix possibly uninitialized return warning
This commit is contained in:
parent
f3adf7c4e5
commit
7f5d17da83
@ -75,7 +75,7 @@ event_t *event_get(event_queue_t *queue)
|
||||
event_t *event_wait_multi(event_queue_t *queues, size_t n_queues)
|
||||
{
|
||||
assert(queues && n_queues);
|
||||
event_t *result;
|
||||
event_t *result = NULL;
|
||||
|
||||
do {
|
||||
unsigned state = irq_disable();
|
||||
|
Loading…
Reference in New Issue
Block a user