From 0ec2c9d8f2b6f4aebce887459d88ce4957892539 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sun, 26 Jan 2020 09:34:18 -0800 Subject: [PATCH] Change some misleading formatting Don't put an unrelated compound statement directly below an 'if', which makes it way too easy to mistake it as the body of the 'if'. No real changes. --- src/unix/threadpsx.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index 8da80d379b..0e54c0a83b 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -946,7 +946,9 @@ extern "C" void wxPthreadCleanup(void *ptr) void wxThreadInternal::Cleanup(wxThread *thread) { - if (pthread_getspecific(gs_keySelf) == 0) return; + if (pthread_getspecific(gs_keySelf) == 0) + return; + { wxCriticalSectionLocker lock(thread->m_critsect); if ( thread->m_internal->GetState() == STATE_EXITED )