summaryrefslogtreecommitdiff
path: root/gdb/valarith.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2010-05-06 18:26:13 +0000
committerMichael Snyder <msnyder@specifix.com>2010-05-06 18:26:13 +0000
commit096667dd0d10dfe49d82a08ea40b11eb06f5b4af (patch)
treed000f3da7fc5c0bb8b1d68894d73e41a914b25fe /gdb/valarith.c
parent7fea93046a38fb0dddb7678a8bffffb2408f7bb6 (diff)
downloadgdb-096667dd0d10dfe49d82a08ea40b11eb06f5b4af.tar.gz
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/valarith.c')
-rw-r--r--gdb/valarith.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c
index 60f09a610e5..4efe93687c1 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -146,7 +146,6 @@ an integer nor a pointer of the same type."));
struct value *
value_subscript (struct value *array, LONGEST index)
{
- struct value *bound;
int c_style = current_language->c_style_arrays;
struct type *tarray;
@@ -881,7 +880,6 @@ value_binop (struct value *arg1, struct value *arg2, enum exp_opcode op)
if (TYPE_CODE (type1) == TYPE_CODE_DECFLOAT
|| TYPE_CODE (type2) == TYPE_CODE_DECFLOAT)
{
- struct type *v_type;
int len_v1, len_v2, len_v;
enum bfd_endian byte_order_v1, byte_order_v2, byte_order_v;
gdb_byte v1[16], v2[16];