aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-15 22:25:10 -0500
committerMike Frysinger <vapier@gentoo.org>2023-12-19 05:51:10 -0500
commit568b2f90c7d5c1ecb6bfea7963c4dd744cad80bb (patch)
tree128d0307827dc18e165c9863f5045f40c395ebc6 /sim/m32r
parent9340c172419d4ede9fd037bbd970fae32b72f2b3 (diff)
downloadgdb-568b2f90c7d5c1ecb6bfea7963c4dd744cad80bb.zip
gdb-568b2f90c7d5c1ecb6bfea7963c4dd744cad80bb.tar.gz
gdb-568b2f90c7d5c1ecb6bfea7963c4dd744cad80bb.tar.bz2
sim: m32r: fix -Wunused-variable warnings
Diffstat (limited to 'sim/m32r')
-rw-r--r--sim/m32r/dv-m32r_uart.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/m32r/dv-m32r_uart.c b/sim/m32r/dv-m32r_uart.c
index 6c87858..761b4e8e 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)