1
0
Fork 0
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:
Stefan Lankes 2017-08-07 09:33:28 +02:00
parent a5c5f28a6e
commit b9aad1757b

View file

@ -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);