sim: Initialize pbb_br_* by default
authorTsukasa OI <research_trasio@irq.a4lg.com>
Thu, 6 Oct 2022 06:43:53 +0000 (06:43 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 11 Oct 2022 14:18:15 +0000 (15:18 +0100)
commitbabcfd75883790c13de37c86f15de7d4bca582de
treeac8066df661b63892d1488b0ba6cd79346011f58
parent340aa4f6872ca3c4f7fc4a79671537064d0ca91f
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.
sim/common/genmloop.sh