read/write_pieced_value: Drop 'buffer_size' variable
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Tue, 13 Jun 2017 13:20:30 +0000 (15:20 +0200)
committerAndreas Arnez <arnez@linux.vnet.ibm.com>
Tue, 13 Jun 2017 13:20:30 +0000 (15:20 +0200)
commit840989c113433c069f54872d7e051e1572202326
tree7c6a1454ce5e3454437124f6470bb0845dc9800a
parent3bf310110722b03d9ff9c4f34f5920a9be2878d0
read/write_pieced_value: Drop 'buffer_size' variable

When the variable 'buffer_size' in read_pieced_value and
write_pieced_value was introduced, it was needed for tracking the buffer's
allocated size.  Now that the buffer's data type has been changed to a
std::vector, the variable is no longer necessary; so remove it.

gdb/ChangeLog:

* dwarf2loc.c (read_pieced_value): Remove buffer_size variable.
(write_pieced_value): Likewise.
gdb/ChangeLog
gdb/dwarf2loc.c