mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
sim: m32r: fix -Wunused-variable warnings
This commit is contained in:
parent
9340c17241
commit
568b2f90c7
@ -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…
Reference in New Issue
Block a user