summaryrefslogtreecommitdiff
path: root/gdb/progspace.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2010-05-07 02:09:54 +0000
committerMichael Snyder <msnyder@specifix.com>2010-05-07 02:09:54 +0000
commitc5b2e4985cf65e0c9ab8b82e1a3199c71998602e (patch)
tree0bdc46e4f5f48aa8240604ddd41045202aa21870 /gdb/progspace.c
parent827188fab4f3a1c70f4e8fed2fc15416dd086cde (diff)
downloadgdb-c5b2e4985cf65e0c9ab8b82e1a3199c71998602e.tar.gz
2010-05-06 Michael Snyder <msnyder@vmware.com>
* xml-support.c (xinclude_start_include): Delete unused variable. (xml_process_xincludes): Delete unused variable. * xml-syscall.c (syscall_parse_xml): Delete unused variable. * target-descriptions.c (tdesc_gdb_type): Delete unused variable. (tdesc_find_arch_register): Delete unused variable. (tdesc_use_registers): Delete unused variable. * xml-tdesc.c (tdesc_start_target): Delete unused variable. * inferior.c (print_inferior): Delete unused variable. * record.c (record_open_1): Delete unused variable. (record_restore): Delete unused variable. (cmd_record_save): Delete unused variable. * gcore.c (derive_heap_segment): Delete unused variable. (objfile_find_memory_regions): Use unused variable. * jit.c (jit_inferior_init): Delete unused variable. * progspace.c (clone_program_space): Delete unused variable. (pspace_empty_p): Delete unused variable.
Diffstat (limited to 'gdb/progspace.c')
-rw-r--r--gdb/progspace.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/progspace.c b/gdb/progspace.c
index 42139fd4599..5a2acfd5902 100644
--- a/gdb/progspace.c
+++ b/gdb/progspace.c
@@ -186,7 +186,6 @@ remove_program_space (struct program_space *pspace)
struct program_space *
clone_program_space (struct program_space *dest, struct program_space *src)
{
- struct program_space *new_pspace;
struct cleanup *old_chain;
old_chain = save_current_program_space ();
@@ -248,8 +247,6 @@ save_current_program_space (void)
static int
pspace_empty_p (struct program_space *pspace)
{
- struct inferior *inf;
-
if (find_inferior_for_program_space (pspace) != NULL)
return 0;