diff options
author | Adin Scannell <ascannell@google.com> | 2020-12-04 14:57:25 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-04 14:59:54 -0800 |
commit | 1371b73b4b31b8c057acfc836f08aa2ce2d1f368 (patch) | |
tree | c7780408fa8ffd75419a332b83c0fd43646c4ff7 /test/syscalls | |
parent | 4b198b18e1757ab6606c6d885ae62027d37d3651 (diff) |
Initialize has_tid for correctness.
PiperOrigin-RevId: 345763209
Diffstat (limited to 'test/syscalls')
-rw-r--r-- | test/syscalls/linux/signalfd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/signalfd.cc b/test/syscalls/linux/signalfd.cc index 389e5fca2..c86cd2755 100644 --- a/test/syscalls/linux/signalfd.cc +++ b/test/syscalls/linux/signalfd.cc @@ -126,7 +126,7 @@ TEST_P(SignalfdTest, Blocking) { // Shared tid variable. absl::Mutex mu; - bool has_tid; + bool has_tid = false; pid_t tid; // Start a thread reading. |