sim/cgen: initialize variable at creation in engine_run_n
authorAndrew Burgess <aburgess@redhat.com>
Mon, 24 Oct 2022 15:55:07 +0000 (16:55 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 27 Oct 2022 15:52:07 +0000 (16:52 +0100)
commita09f33be653fb112586be126f3d5ab848aaed095
tree216896ce061041669dd1bd5b600bbf2ea0bcd6a5
parent48ca5676924d2609f1b9ea1990719c9eb41e88a2
sim/cgen: initialize variable at creation in engine_run_n

Zero initialize engine_fns entirely at creation, then override those
fields we intend to use, rather than zero just initializing the unused
fields later on.

There should be no user visible changes after this commit.
sim/common/cgen-run.c