diff --git a/tests/z_api_alignment_test.c b/tests/z_api_alignment_test.c index 79ba3add4..8ed72b264 100644 --- a/tests/z_api_alignment_test.c +++ b/tests/z_api_alignment_test.c @@ -54,6 +54,7 @@ void zid_handler(const z_id_t *id, void *arg) { volatile unsigned int hellos = 0; void hello_handler(const z_loaned_hello_t *hello, void *arg) { + (void)hello; (void)(arg); printf("%s\n", __func__); hellos++;