From 1371b73b4b31b8c057acfc836f08aa2ce2d1f368 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Fri, 4 Dec 2020 14:57:25 -0800 Subject: Initialize has_tid for correctness. PiperOrigin-RevId: 345763209 --- test/syscalls/linux/signalfd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/syscalls/linux') 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. -- cgit v1.2.3