forked from Imagelibrary/binutils-gdb
2010-05-06 Michael Snyder <msnyder@vmware.com>
* eval.c (evaluate_subexp_standard): Delete unused variable. * valops.c (value_cast_pointers): Delete unused variable. (value_dynamic_cast): Delete unused variable. (value_array): Delete unused variable. (find_overload_match): Delete unused variable. * valarith.c (value_subscript): Delete unused variable. (value_binop): Delete unused variable. * valprint.c (_initialize_valprint): Delete unused variable. * printcmd.c (print_command_1): Delete unused variable. (address_info): Delete unused variable. (printf_command): Delete unused variable.
This commit is contained in:
@@ -959,7 +959,6 @@ print_command_1 (char *exp, int inspect, int voidprint)
|
||||
|
||||
if (exp && *exp)
|
||||
{
|
||||
struct type *type;
|
||||
expr = parse_expression (exp);
|
||||
old_chain = make_cleanup (free_current_contents, &expr);
|
||||
cleanup = 1;
|
||||
@@ -1175,7 +1174,6 @@ sym_info (char *arg, int from_tty)
|
||||
static void
|
||||
address_info (char *exp, int from_tty)
|
||||
{
|
||||
struct block *block;
|
||||
struct gdbarch *gdbarch;
|
||||
int regno;
|
||||
struct symbol *sym;
|
||||
@@ -2383,7 +2381,6 @@ printf_command (char *arg, int from_tty)
|
||||
{
|
||||
struct gdbarch *gdbarch
|
||||
= get_type_arch (value_type (val_args[i]));
|
||||
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
|
||||
struct type *wctype = lookup_typename (current_language, gdbarch,
|
||||
"wchar_t", NULL, 0);
|
||||
struct type *valtype;
|
||||
|
||||
Reference in New Issue
Block a user