aboutsummaryrefslogtreecommitdiff
path: root/gdb/ft32-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-12-04 07:46:59 -0700
committerTom Tromey <tromey@adacore.com>2019-12-04 07:48:44 -0700
commitfeee869bd84841bc048b4ca60a8713d80f8be5d9 (patch)
treeedfc6f7c4c5b9dd627a73a78e1e94bb19755933d /gdb/ft32-tdep.c
parentc2512106f8942dfa944c75add9b9107e28ef0018 (diff)
downloadgdb-feee869bd84841bc048b4ca60a8713d80f8be5d9.zip
gdb-feee869bd84841bc048b4ca60a8713d80f8be5d9.tar.gz
gdb-feee869bd84841bc048b4ca60a8713d80f8be5d9.tar.bz2
Silence maybe-uninitialized warning in dwarf2read.c
I upgraded to Fedora 30 recently. It includes GCC 9, which gives a warning for dwarf2read.c: ../../binutils-gdb/gdb/dwarf2read.c:16103:24: warning: ‘discr_offset’ may be used uninitialized in this function [-Wmaybe-uninitialized] This patch fixes the problem by initializing discr_offset. Tested by rebuilding. gdb/ChangeLog 2019-12-04 Tom Tromey <tromey@adacore.com> * dwarf2read.c (process_structure_scope): Initialize "discr_offset". Change-Id: I76a6157921c9beacb641b8a41e10026006621b95
Diffstat (limited to 'gdb/ft32-tdep.c')
0 files changed, 0 insertions, 0 deletions