aboutsummaryrefslogtreecommitdiff
path: root/gdb/memattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/memattr.c')
-rw-r--r--gdb/memattr.c5
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)