SUMMARY rd/tests/tsan_thread_wrappers_pthread.h:371]: (warning) Identical condition 'my_thread->wpvpv_', second condition is always false Source code is if (my_thread->wpvpv_) return my_thread->wpvpv_(my_thread->arg_); if (my_thread->wpvpv_) my_thread->wvpv_(my_thread->arg_); STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Thank you for your report. Please verify whether commit 5b4029b8cc8f ("drd/tests/tsan_thread_wrappers_pthread.h: Fix MyThread::ThreadBody()") fixes this bug.
In latest version, warning from static analyser no longer exists. It looks fixed to me.