From 568b2f90c7d5c1ecb6bfea7963c4dd744cad80bb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 15 Dec 2023 22:25:10 -0500 Subject: [PATCH] sim: m32r: fix -Wunused-variable warnings --- sim/m32r/dv-m32r_uart.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sim/m32r/dv-m32r_uart.c b/sim/m32r/dv-m32r_uart.c index 6c8785881de..761b4e8edbd 100644 --- a/sim/m32r/dv-m32r_uart.c +++ b/sim/m32r/dv-m32r_uart.c @@ -36,7 +36,6 @@ m32r_uart_io_write_buffer (struct hw *me, const void *source, int space, address_word addr, unsigned nr_bytes) { SIM_DESC sd = hw_system (me); - struct m32r_uart *uart = hw_data (me); int status = dv_sockser_status (sd); switch (addr) @@ -65,7 +64,6 @@ m32r_uart_io_read_buffer (struct hw *me, void *dest, int space, address_word addr, unsigned nr_bytes) { SIM_DESC sd = hw_system (me); - struct m32r_uart *uart = hw_data (me); int status = dv_sockser_status (sd); switch (addr)