Warnings purge of src/core

This commit is contained in:
Marty Connor
2007-07-02 15:26:40 -04:00
parent 8febe42f78
commit bf871c4d03
9 changed files with 26 additions and 487 deletions

View File

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