https://github.com/python/cpython/commit/2e96f5ae4d1700d77a53180b4866c5b9f002e62d
commit: 2e96f5ae4d1700d77a53180b4866c5b9f002e62d
branch: main
author: Chris Eibl <[email protected]>
committer: zooba <[email protected]>
date: 2025-03-31T20:28:35+01:00
summary:

GH-131296: Add missing UNREACHABLE mark in thread_nt.h (GH-131589)

files:
M Python/thread_nt.h

diff --git a/Python/thread_nt.h b/Python/thread_nt.h
index 3a01a7fe327c8f..e078b98be3cdf4 100644
--- a/Python/thread_nt.h
+++ b/Python/thread_nt.h
@@ -289,6 +289,7 @@ PyThread_exit_thread(void)
     if (!initialized)
         exit(0);
     _endthreadex(0);
+    Py_UNREACHABLE();
 }
 
 void _Py_NO_RETURN

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to