diff options
author | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-10-06 06:43:53 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-10-11 15:18:15 +0100 |
commit | babcfd75883790c13de37c86f15de7d4bca582de (patch) | |
tree | ac8066df661b63892d1488b0ba6cd79346011f58 /gdb/netbsd-tdep.c | |
parent | 340aa4f6872ca3c4f7fc4a79671537064d0ca91f (diff) | |
download | gdb-babcfd75883790c13de37c86f15de7d4bca582de.zip gdb-babcfd75883790c13de37c86f15de7d4bca582de.tar.gz gdb-babcfd75883790c13de37c86f15de7d4bca582de.tar.bz2 |
sim: Initialize pbb_br_* by default
On the files generated by sim/common/genmloop.sh, variables pbb_br_type and
pbb_br_npc are declared uninitialized and passed to other functions in some
cases. Despite that those are harmless, they will generate GCC warnings
("-Wmaybe-uninitialized").
This commit ensures that pbb_br_type and pbb_br_npc variables are
initialized to a harmless value.
Diffstat (limited to 'gdb/netbsd-tdep.c')
0 files changed, 0 insertions, 0 deletions