From 76ac42ff9a3c9a6702a2f41ab3ec4f073d3ea8ad Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 29 Aug 2018 12:36:18 -0500 Subject: lpc32xx/include/bsp.h: Resolve set but not used warning --- bsps/arm/lpc32xx/include/bsp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/bsps/arm/lpc32xx/include/bsp.h b/bsps/arm/lpc32xx/include/bsp.h index 0f9d1318cd..8ccb637a01 100644 --- a/bsps/arm/lpc32xx/include/bsp.h +++ b/bsps/arm/lpc32xx/include/bsp.h @@ -223,6 +223,7 @@ extern uint32_t lpc32xx_magic_zero_size []; uint32_t ctrl = 0; \ \ rtems_interrupt_disable(level); \ + (void) level; /* avoid set but not used warning */ \ \ arm_cp15_data_cache_test_and_clean(); \ arm_cp15_instruction_cache_invalidate(); \ -- cgit v1.2.3