From ef1edd5bea44c29e89e6029df670f61547d1a94f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 7 Jul 2025 08:45:48 -0500 Subject: [PATCH] microblaze_fpga/include/tm27.h: Fix unused variable warning This implementation of the tm27 helpers is non-functional. It needed to at least indicate that it was not using a parameter. --- bsps/microblaze/microblaze_fpga/include/tm27.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bsps/microblaze/microblaze_fpga/include/tm27.h b/bsps/microblaze/microblaze_fpga/include/tm27.h index f2e384b534..8b9ed6ec6d 100644 --- a/bsps/microblaze/microblaze_fpga/include/tm27.h +++ b/bsps/microblaze/microblaze_fpga/include/tm27.h @@ -47,7 +47,10 @@ #define MUST_WAIT_FOR_INTERRUPT 0 -#define Install_tm27_vector( handler ) /* set_vector( (handler), 6, 1 ) */ +#define Install_tm27_vector( handler ) \ + do { \ + (void) (handler); \ + } while (0) #define Cause_tm27_intr() /* empty */