Initialize has_tid for correctness.

PiperOrigin-RevId: 345763209
This commit is contained in:
Adin Scannell
2020-12-04 14:59:54 -08:00
committed by gVisor bot
parent 4b198b18e1
commit 1371b73b4b
+1 -1
View File
@@ -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.