summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/src/z180/z180_scc.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/arch/z80/src/z180/z180_scc.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/arch/z80/src/z180/z180_scc.c')
-rw-r--r--nuttx/arch/z80/src/z180/z180_scc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nuttx/arch/z80/src/z180/z180_scc.c b/nuttx/arch/z80/src/z180/z180_scc.c
index 8655d907c..b8f156503 100644
--- a/nuttx/arch/z80/src/z180/z180_scc.c
+++ b/nuttx/arch/z80/src/z180/z180_scc.c
@@ -575,8 +575,6 @@ static bool z180_txempty(struct uart_dev_s *dev)
void up_serialinit(void)
{
- uint8_t regval;
-
/* Make sure that all UART interrupts are disabled */
#warning "Missing logic"