From 8ea13695588ac6e6b67bf721e61bb4d277d07089 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 6 May 2010 18:07:08 +0000 Subject: 2010-05-06 Michael Snyder * auxv.c (target_auxv_search): Delete unused variable. * blockframe.c (get_frame_block): Delete unused variable. * regcache.c (regcache_cpy): Delete unused variable. (regcache_cpy_no_passthrough): Delete unused variable. * charset.c (wchar_iterate): Delete unused variable. (find_charset_names): Delete unused variable. (_initialize_charset): Delete unused variable. * disasm.c (do_mixed_source_and_assembly): Delete unused variable. * source.c (set_default_source_symtab_and_line): Delete unused variable. (set_substitute_path_command): Delete unused variable. * value.c (preserve_values): Delete unused variable. (value_from_double): Delete unused variable. --- gdb/regcache.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gdb/regcache.c') diff --git a/gdb/regcache.c b/gdb/regcache.c index c3fcd9d..6c91da3 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 -- cgit v1.1