Avoid two uninitialized warnings from gcc
authorTom Tromey <tom@tromey.com>
Wed, 3 Oct 2018 22:01:12 +0000 (16:01 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 4 Oct 2018 02:55:52 +0000 (20:55 -0600)
commit875e539851bb2702f3292f819e220545a8776242
tree3c98ce55459276f9fc569ef54fcb9db3bc655174
parenta4cf95167c83c0b8c9dcd55f475a3b028eb883fc
Avoid two uninitialized warnings from gcc

This avoids a couple of uninitialized warnings from gcc by
initializing the object in question.  The one in coffread.c seems like
it could be a latent bug.  The one in scm-value.c is harmless, but GCC
can't see that.

gdb/ChangeLog
2018-10-03  Tom Tromey  <tom@tromey.com>

* guile/scm-value.c (gdbscm_value_to_string): Initialize
"buffer_contents".
* coffread.c (coff_symtab_read): Initialize "newobj".
gdb/ChangeLog
gdb/coffread.c
gdb/guile/scm-value.c