summaryrefslogtreecommitdiff
path: root/nuttx/drivers/input/mxt.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-25 13:15:09 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-25 13:15:09 -0600
commit3b3fcf2bfa6015d890d42b5a528f7fe7476632f7 (patch)
treecccc4fca1d7d91915ad679577b484c5c6a110e6d /nuttx/drivers/input/mxt.c
parentc9b18b049b09580260188349bb32e91b59f74965 (diff)
downloadpx4-nuttx-3b3fcf2bfa6015d890d42b5a528f7fe7476632f7.tar.gz
px4-nuttx-3b3fcf2bfa6015d890d42b5a528f7fe7476632f7.tar.bz2
px4-nuttx-3b3fcf2bfa6015d890d42b5a528f7fe7476632f7.zip
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
Diffstat (limited to 'nuttx/drivers/input/mxt.c')
-rw-r--r--nuttx/drivers/input/mxt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/drivers/input/mxt.c b/nuttx/drivers/input/mxt.c
index 318d1c0b5..ca28f936e 100644
--- a/nuttx/drivers/input/mxt.c
+++ b/nuttx/drivers/input/mxt.c
@@ -750,6 +750,8 @@ static void mxt_button_event(FAR struct mxt_dev_s *priv,
button = (msg->body[0] & mask) == 0;
/* Now what? */
+
+ UNUSED(button);
}
}
}