aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-06 18:26:13 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-06 18:26:13 +0000
commit8f78b329f08167847d9b94940b3bcae6ee292242 (patch)
treef51b3219d24d11e614b279612c09003a75c63a4b /gdb/printcmd.c
parent8ea13695588ac6e6b67bf721e61bb4d277d07089 (diff)
downloadgdb-8f78b329f08167847d9b94940b3bcae6ee292242.zip
gdb-8f78b329f08167847d9b94940b3bcae6ee292242.tar.gz
gdb-8f78b329f08167847d9b94940b3bcae6ee292242.tar.bz2
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.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 16ea2a6..d202330 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -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;