diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-06 22:29:49 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-06 22:29:49 +0000 |
commit | 6b4398f7cdb82bedc0d0a71d95782862bd1a704f (patch) | |
tree | c4b650e38c8d5459ce1a9cbfb7ea75e96e922bf3 /gdb/memattr.c | |
parent | cf383746fa2c9023feaaf737b2c571e96a55aef5 (diff) | |
download | gdb-6b4398f7cdb82bedc0d0a71d95782862bd1a704f.zip gdb-6b4398f7cdb82bedc0d0a71d95782862bd1a704f.tar.gz gdb-6b4398f7cdb82bedc0d0a71d95782862bd1a704f.tar.bz2 |
2010-05-06 Michael Snyder <msnyder@vmware.com>
* osabi.c (_initialize_gdb_osabi): Delete unused variable.
* memattr.c (mem_delete): Delete unused variable.
(invalidate_target_mem_regions): Delete unused variable.
* mem-break.c (default_memory_insert_breakpoint):
Delete unused variable.
* target.c (target_get_osdata): Delete unused variable.
* parse.c (length_of_subexp): Delete unused variable.
(prefixify_subexp): Delete unused variable.
(exp_iterate): Delete unused variable.
* reverse.c (delete_bookmark_command): Delete unused variable.
Diffstat (limited to 'gdb/memattr.c')
-rw-r--r-- | gdb/memattr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/memattr.c b/gdb/memattr.c index eee150c..3fcc45e 100644 --- a/gdb/memattr.c +++ b/gdb/memattr.c @@ -292,9 +292,6 @@ lookup_mem_region (CORE_ADDR addr) void invalidate_target_mem_regions (void) { - struct mem_region *m; - int ix; - if (!target_mem_regions_valid) return; @@ -655,7 +652,7 @@ mem_disable_command (char *args, int from_tty) static void mem_delete (int num) { - struct mem_region *m1, *m; + struct mem_region *m; int ix; if (!mem_region_list) |