From bf871c4d03f1dd00a196e15df5267e8be0c8878c Mon Sep 17 00:00:00 2001 From: Marty Connor Date: Mon, 2 Jul 2007 15:26:40 -0400 Subject: Warnings purge of src/core --- src/core/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/serial.c') diff --git a/src/core/serial.c b/src/core/serial.c index d0827481c..630403774 100644 --- a/src/core/serial.c +++ b/src/core/serial.c @@ -213,7 +213,7 @@ static void serial_init ( void ) { /* rx buffer reg * throw away (unconditionally the first time) */ - uart_readb(UART_BASE + UART_RBR); + (void) uart_readb(UART_BASE + UART_RBR); /* line status reg */ status = uart_readb(UART_BASE + UART_LSR); } while(status & UART_LSR_DR); -- cgit v1.2.3-55-g7522