diff options
Diffstat (limited to 'kernel/features/event.c')
-rw-r--r-- | kernel/features/event.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |