aboutsummaryrefslogtreecommitdiff
path: root/gdb/valarith.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/valarith.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/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 60f09a6..4efe936 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];