From 94de27efb7f9f97d162c1cd6b0a2bb89e3fe555f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 21 Aug 2020 23:08:16 +0200 Subject: Finished proper return of processes --- kernel/features/event.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/features/event.c') diff --git a/kernel/features/event.c b/kernel/features/event.c index 8fafb05..9fd6da2 100644 --- a/kernel/features/event.c +++ b/kernel/features/event.c @@ -48,6 +48,7 @@ void event_unmap(enum event id, u32 *func) u32 event_trigger(enum event id, u32 *data) { + (void)data; assert(id < sizeof(event_table) / sizeof(*event_table)); struct node *iterator = ((struct list *)event_table[id])->head; -- cgit v1.2.3