aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-07 02:09:55 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-07 02:09:55 +0000
commitc6913b7d1e1863c208fb6495b227ef5ea119243e (patch)
treefd0dce52b205e9792e3f8c6965befd9e6b8ef863 /gdb/inferior.c
parent1c5465ac6061382a64975cbe2e619054bfc71c45 (diff)
downloadgdb-c6913b7d1e1863c208fb6495b227ef5ea119243e.zip
gdb-c6913b7d1e1863c208fb6495b227ef5ea119243e.tar.gz
gdb-c6913b7d1e1863c208fb6495b227ef5ea119243e.tar.bz2
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/inferior.c')
-rw-r--r--gdb/inferior.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/inferior.c b/gdb/inferior.c
index f1991c9..a489721 100644
--- a/gdb/inferior.c
+++ b/gdb/inferior.c
@@ -527,8 +527,6 @@ print_inferior (struct ui_out *uiout, int requested_inferior)
/* Compute number of inferiors we will print. */
for (inf = inferior_list; inf; inf = inf->next)
{
- struct cleanup *chain2;
-
if (requested_inferior != -1 && inf->num != requested_inferior)
continue;