2011-02-28 Michael Snyder <msnyder@vmware.com>
+ * linespec.c (decode_objc): Delete unused variable.
+
* tui/tui-regs.c (tui_register_format): Delete unused variable.
* dwarf2read.c (add_partial_symbol): Discard unused values.
struct symtabs_and_lines values;
struct symbol **sym_arr = NULL;
struct symbol *sym = NULL;
- char *copy = NULL;
struct block *block = NULL;
unsigned i1 = 0;
unsigned i2 = 0;
set_language (save_language);
}
- copy = find_imps (file_symtab, block, *argptr, NULL, &i1, &i2);
+ find_imps (file_symtab, block, *argptr, NULL, &i1, &i2);
if (i1 > 0)
{
alloca ((i1 + 1) * sizeof (struct symbol *));
sym_arr[i1] = NULL;
- copy = find_imps (file_symtab, block, *argptr, sym_arr, &i1, &i2);
- *argptr = copy;
+ *argptr = find_imps (file_symtab, block, *argptr, sym_arr, &i1, &i2);
}
/* i1 now represents the TOTAL number of matches found.