mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
remove compiler warnings
This commit is contained in:
parent
a5c5f28a6e
commit
b9aad1757b
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ size_t uartport = 0;
|
|||
|
||||
static inline unsigned char read_from_uart(uint32_t off)
|
||||
{
|
||||
uint8_t c;
|
||||
uint8_t c = 0;
|
||||
|
||||
if (uartport)
|
||||
c = inportb(uartport + off);
|
||||
|
|
Loading…
Add table
Reference in a new issue