summaryrefslogtreecommitdiffstats
path: root/bsps/shared
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-07-17 07:59:47 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-07-17 08:00:46 +0200
commitfb0eb31a55838f1287fa1aa650fdeb1c3c7e8687 (patch)
tree97082990bff0a95c592d0b950a5e46f5f1e06eba /bsps/shared
parentscore/arm: improve printed exception information for Cortex-Mx CPUs (diff)
downloadrtems-fb0eb31a55838f1287fa1aa650fdeb1c3c7e8687.tar.bz2
bsps/grlib: Fix use of uninitialized variable
Fixes Coverity CID 1538314.
Diffstat (limited to 'bsps/shared')
-rw-r--r--bsps/shared/grlib/uart/apbuart_cons.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bsps/shared/grlib/uart/apbuart_cons.c b/bsps/shared/grlib/uart/apbuart_cons.c
index 74f9bf3e0c..a8b4eaaf88 100644
--- a/bsps/shared/grlib/uart/apbuart_cons.c
+++ b/bsps/shared/grlib/uart/apbuart_cons.c
@@ -432,7 +432,6 @@ static bool first_open(
if (uart->mode != TERMIOS_POLLED) {
int ret;
- uint32_t ctrl;
/* Register interrupt and enable it */
ret = drvmgr_interrupt_register(