From: Mike Frysinger Date: Sat, 16 Dec 2023 03:25:10 +0000 (-0500) Subject: sim: m32r: fix -Wunused-variable warnings X-Git-Tag: binutils-2_42~514 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=568b2f90c7d5c1ecb6bfea7963c4dd744cad80bb;p=thirdparty%2Fbinutils-gdb.git sim: m32r: fix -Wunused-variable warnings --- 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)