forked from Imagelibrary/rtems
bsps/grlib: Fix use of uninitialized variable
Fixes Coverity CID 1538314.
This commit is contained in:
@@ -432,7 +432,6 @@ static bool first_open(
|
|||||||
|
|
||||||
if (uart->mode != TERMIOS_POLLED) {
|
if (uart->mode != TERMIOS_POLLED) {
|
||||||
int ret;
|
int ret;
|
||||||
uint32_t ctrl;
|
|
||||||
|
|
||||||
/* Register interrupt and enable it */
|
/* Register interrupt and enable it */
|
||||||
ret = drvmgr_interrupt_register(
|
ret = drvmgr_interrupt_register(
|
||||||
|
|||||||
Reference in New Issue
Block a user