diff options
-rw-r--r-- | compiler-rt/lib/lsan/lit_tests/TestCases/fork_threaded.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/lib/lsan/lit_tests/TestCases/fork_threaded.cc b/compiler-rt/lib/lsan/lit_tests/TestCases/fork_threaded.cc index b162de458b0..24a586109e2 100644 --- a/compiler-rt/lib/lsan/lit_tests/TestCases/fork_threaded.cc +++ b/compiler-rt/lib/lsan/lit_tests/TestCases/fork_threaded.cc @@ -21,8 +21,7 @@ void ExitFromThread() { int res; res = pthread_create(&tid, 0, exit_thread_func, 0); assert(res == 0); - res = pthread_join(tid, 0); - assert(res == 0); + pthread_join(tid, 0); } int main() { |