From fb0eb31a55838f1287fa1aa650fdeb1c3c7e8687 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 Jul 2023 07:59:47 +0200 Subject: bsps/grlib: Fix use of uninitialized variable Fixes Coverity CID 1538314. --- bsps/shared/grlib/uart/apbuart_cons.c | 1 - 1 file changed, 1 deletion(-) 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( -- cgit v1.2.3