diff options
author | Joel Sherrill <joel@rtems.org> | 2018-08-29 12:36:18 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-08-29 12:52:10 -0500 |
commit | 76ac42ff9a3c9a6702a2f41ab3ec4f073d3ea8ad (patch) | |
tree | f59d461003c306e3667c93c96811fea8a57c0b44 | |
parent | monlib.[ch]: Fix warnings for external vs internal use of .h (diff) | |
download | rtems-76ac42ff9a3c9a6702a2f41ab3ec4f073d3ea8ad.tar.bz2 |
lpc32xx/include/bsp.h: Resolve set but not used warning
-rw-r--r-- | bsps/arm/lpc32xx/include/bsp.h | 1 |
1 files changed, 1 insertions, 0 deletions
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(); \ |