1
0
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:
Kaspar Schleiser 2021-03-03 22:28:31 +01:00
parent f3adf7c4e5
commit 7f5d17da83

View File

@ -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();