Rename local variable in value_struct_elt_for_reference()
to work around the shadowing a previous local warning.
+2018-10-08 Weimin Pan <weimin.pan@oracle.com>
+ * valops.c (value_struct_elt_for_reference): Rename local variable
+ to work around the shadowing a previous local warning.
+
2018-10-08 John Baldwin <jhb@FreeBSD.org>
* Makefile.in (ALLDEPFILES): Add riscv-fbsd-nat.c.
mem_offset += boff;
else
{
- struct type *t = check_typedef (value_type (this_v));
- t = check_typedef (TYPE_TARGET_TYPE (t));
- if (get_baseclass_offset (t, curtype, this_v,
+ struct type *p = check_typedef (value_type (this_v));
+ p = check_typedef (TYPE_TARGET_TYPE (p));
+ if (get_baseclass_offset (p, curtype, this_v,
&boff, &isvirt))
mem_offset += boff;
}