From 3c2992e58b033a6c8adcb52b53c42a96002e7034 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Fri, 12 May 2023 00:48:42 -0600 Subject: gh-87526: Remove dead initialization from _zoneinfo parse_abbr() (#24700) --- Modules/_zoneinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_zoneinfo.c b/Modules/_zoneinfo.c index 3b2d282d65..c8c791b6d7 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) != '>') { -- cgit v1.2.1