tsan: test: Initialize all fields of Params struct
authorMarco Elver <elver@google.com>
Tue, 17 Aug 2021 14:54:07 +0000 (16:54 +0200)
committerMarco Elver <elver@google.com>
Tue, 17 Aug 2021 14:58:00 +0000 (16:58 +0200)
commitd2b574a4dea5b718e4386bf2e26af0126e5978ce
tree8e9e3e27c0fed8d1789662abb9d63327601e41ca
parent5c6f748cbc17d4ce82374f0c4c2364961152a1c4
tsan: test: Initialize all fields of Params struct

Some compilers started complaining about the test:

tsan_trace_test.cpp:128:21: error: missing field 'type' initializer

Fix it by initializing all 5 fields, even though the type field will be
reset in the for loop.

Differential Revision: https://reviews.llvm.org/D108207
compiler-rt/lib/tsan/tests/unit/tsan_trace_test.cpp