diff options
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r-- | gdb/regcache.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index c3fcd9d4517..6c91da39a28 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -350,9 +350,6 @@ do_cooked_read (void *src, int regnum, gdb_byte *buf) void regcache_cpy (struct regcache *dst, struct regcache *src) { - int i; - gdb_byte *buf; - gdb_assert (src != NULL && dst != NULL); gdb_assert (src->descr->gdbarch == dst->descr->gdbarch); gdb_assert (src != dst); @@ -369,7 +366,6 @@ regcache_cpy (struct regcache *dst, struct regcache *src) void regcache_cpy_no_passthrough (struct regcache *dst, struct regcache *src) { - int i; gdb_assert (src != NULL && dst != NULL); gdb_assert (src->descr->gdbarch == dst->descr->gdbarch); /* NOTE: cagney/2002-05-17: Don't let the caller do a no-passthrough |