Browse Source

sim: m32r: fix -Wunused-variable warnings

binutils-2_42-branch
Mike Frysinger 2 years ago
parent
commit
568b2f90c7
  1. 2
      sim/m32r/dv-m32r_uart.c

2
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)

Loading…
Cancel
Save