mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
* eval.c (evaluate_subexp_standard): Eliminate single-use
variable LOWER.
This commit is contained in:
parent
a065d7af0e
commit
0953dec1c5
@ -1,3 +1,8 @@
|
||||
2012-09-21 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* eval.c (evaluate_subexp_standard): Eliminate single-use
|
||||
variable LOWER.
|
||||
|
||||
2012-09-21 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* mi/mi-interp.c: Declare mi_record_changed.
|
||||
|
@ -810,7 +810,6 @@ evaluate_subexp_standard (struct type *expect_type,
|
||||
struct type *type;
|
||||
int nargs;
|
||||
struct value **argvec;
|
||||
int lower;
|
||||
int code;
|
||||
int ix;
|
||||
long mem_offset;
|
||||
@ -2370,8 +2369,8 @@ evaluate_subexp_standard (struct type *expect_type,
|
||||
struct type *array_type = check_typedef (value_type (array));
|
||||
LONGEST index = subscript_array[i - 1];
|
||||
|
||||
lower = f77_get_lowerbound (array_type);
|
||||
array = value_subscripted_rvalue (array, index, lower);
|
||||
array = value_subscripted_rvalue (array, index,
|
||||
f77_get_lowerbound (array_type));
|
||||
}
|
||||
|
||||
return array;
|
||||
|
Loading…
Reference in New Issue
Block a user