Fix several instances of uninitialized variables.

This commit is contained in:
Jasmine Iwanek
2023-07-21 13:46:08 -04:00
parent 223ec09168
commit 54c52fb55c
10 changed files with 36 additions and 26 deletions

View File

@@ -142,7 +142,7 @@ i82091aa_write(uint16_t port, uint8_t val, void *priv)
{
i82091aa_t *dev = (i82091aa_t *) priv;
uint8_t index;
uint8_t valxor;
uint8_t valxor = 0;
uint8_t uart = (dev->cur_reg >> 4) - 0x03;
uint8_t *reg = &(dev->regs[dev->cur_reg]);