From 56c7acf262c57d99be861a07205c6a6fe8eec418 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Thu, 11 May 2023 18:09:26 -0600 Subject: [PATCH] bpo-43360: Remove dead initialization from parse_abbr function --- Modules/_zoneinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_zoneinfo.c b/Modules/_zoneinfo.c index 3b2d282d65cab9..c8c791b6d7c0d8 100644 --- a/Modules/_zoneinfo.c +++ b/Modules/_zoneinfo.c @@ -1709,11 +1709,11 @@ static Py_ssize_t parse_abbr(const char *const p, PyObject **abbr) { const char *ptr = p; - char buff = *ptr; const char *str_start; const char *str_end; if (*ptr == '<') { + char buff; ptr++; str_start = ptr; while ((buff = *ptr) != '>') {