From 3b3fcf2bfa6015d890d42b5a528f7fe7476632f7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 25 Nov 2014 13:15:09 -0600 Subject: More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs. --- nuttx/configs/mx1ads/src/up_boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/configs/mx1ads/src') diff --git a/nuttx/configs/mx1ads/src/up_boot.c b/nuttx/configs/mx1ads/src/up_boot.c index 6d7576d0c..82991c1fe 100644 --- a/nuttx/configs/mx1ads/src/up_boot.c +++ b/nuttx/configs/mx1ads/src/up_boot.c @@ -101,7 +101,7 @@ void imx_boardinitialize(void) imxgpio_configprimary(GPIOA, 21); imxgpio_configprimary(GPIOA, 22); - regval = getreg32(IMX_CS4_VSECTION + 0x0c); - regval = getreg32(IMX_CS4_VSECTION + 0x0c); + (void)getreg32(IMX_CS4_VSECTION + 0x0c); + (void)getreg32(IMX_CS4_VSECTION + 0x0c); #endif } -- cgit v1.2.3