[Python-checkins] bpo-45203: fix compiler warnings (GH-28357)

Fidget-Spinner webhook-mailer at python.org
Fri Sep 17 05:48:48 EDT 2021


https://github.com/python/cpython/commit/4857e53890408fd5a8ee0e83c0250dd5355b3de3
commit: 4857e53890408fd5a8ee0e83c0250dd5355b3de3
branch: main
author: Ken Jin <28750310+Fidget-Spinner at users.noreply.github.com>
committer: Fidget-Spinner <28750310+Fidget-Spinner at users.noreply.github.com>
date: 2021-09-17T17:48:44+08:00
summary:

bpo-45203: fix compiler warnings (GH-28357)

Co-authored-by: Mark Shannon <mark at hotpy.org>

files:
M Python/specialize.c

diff --git a/Python/specialize.c b/Python/specialize.c
index 52e2cf9615929..8e04c8372d76c 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -875,6 +875,7 @@ load_method_fail_kind(DesciptorClassification kind)
         case ABSENT:
             return SPEC_FAIL_EXPECTED_ERROR;
     }
+    Py_UNREACHABLE();
 }
 #endif
 



More information about the Python-checkins mailing list