From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Fri, 17 Sep 2021 09:48:44 +0000 (+0800) Subject: bpo-45203: fix compiler warnings (GH-28357) X-Git-Tag: v3.11.0a1~148 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4857e53890408fd5a8ee0e83c0250dd5355b3de3;p=thirdparty%2FPython%2Fcpython.git bpo-45203: fix compiler warnings (GH-28357) Co-authored-by: Mark Shannon --- diff --git a/Python/specialize.c b/Python/specialize.c index 52e2cf961592..8e04c8372d76 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