summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>2021-09-17 09:48:44 (GMT)
committerGitHub <noreply@github.com>2021-09-17 09:48:44 (GMT)
commit4857e53890408fd5a8ee0e83c0250dd5355b3de3 (patch)
treea7943bb7da1066080cfc4f996f0424c0db6d55d8
parentb2b035a949eff1dc54b5bafe2bc9ce72b4d24438 (diff)
downloadcpython-4857e53890408fd5a8ee0e83c0250dd5355b3de3.zip
cpython-4857e53890408fd5a8ee0e83c0250dd5355b3de3.tar.gz
cpython-4857e53890408fd5a8ee0e83c0250dd5355b3de3.tar.bz2
bpo-45203: fix compiler warnings (GH-28357)
Co-authored-by: Mark Shannon <mark@hotpy.org>
-rw-r--r--Python/specialize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/specialize.c b/Python/specialize.c
index 52e2cf9..8e04c83 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