mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-01 17:27:15 +08:00
Fix build failure with GCC 4.1.
2016-05-18 Tom Tromey <tom@tromey.com> * rust-lang.c (rust_subscript): Initialize "high".
This commit is contained in:
@ -1308,9 +1308,10 @@ rust_subscript (struct expression *exp, int *pos, enum noside noside,
|
||||
{
|
||||
struct value *lhs, *rhs, *result;
|
||||
struct type *rhstype;
|
||||
LONGEST low, high, high_bound;
|
||||
LONGEST low, high_bound;
|
||||
/* Initialized to appease the compiler. */
|
||||
enum range_type kind = BOTH_BOUND_DEFAULT;
|
||||
LONGEST high = 0;
|
||||
int want_slice = 0;
|
||||
|
||||
++*pos;
|
||||
|
Reference in New Issue
Block a user