diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-15 22:09:52 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-19 05:51:10 -0500 |
commit | 1857c9f587a93d715de815af4a76bb6f6b17810a (patch) | |
tree | cc28a0a41d1e13666aebb8e843c776dd60cdc962 /sim/cris/dv-rv.c | |
parent | 303dc26d24b0c9e61d3193678b12336e68dbf3eb (diff) | |
download | gdb-1857c9f587a93d715de815af4a76bb6f6b17810a.zip gdb-1857c9f587a93d715de815af4a76bb6f6b17810a.tar.gz gdb-1857c9f587a93d715de815af4a76bb6f6b17810a.tar.bz2 |
sim: cris: fix -Wunused-variable warnings
Diffstat (limited to 'sim/cris/dv-rv.c')
-rw-r--r-- | sim/cris/dv-rv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sim/cris/dv-rv.c b/sim/cris/dv-rv.c index 9142b88..6927012 100644 --- a/sim/cris/dv-rv.c +++ b/sim/cris/dv-rv.c @@ -443,11 +443,9 @@ hw_rv_send (struct hw *me, void *msg, unsigned int len_noheader) { - hw_rv_device *rv = (hw_rv_device *) hw_data (me); uint8_t buf[32+3]; uint8_t *bufp; unsigned int len = len_noheader + 3; - int ret; buf[0] = len & 255; buf[1] = (len >> 8) & 255; @@ -1048,7 +1046,6 @@ static void hw_rv_finish (struct hw *me) { hw_rv_device *rv = HW_ZALLOC (me, hw_rv_device); - int i; const struct hw_property *mem_prop; const struct hw_property *dummy_prop; const struct hw_property *mbox_prop; |