Skip to content

Commit 3c2992e

Browse files
authored
gh-87526: Remove dead initialization from _zoneinfo parse_abbr() (#24700)
1 parent f0f5bb3 commit 3c2992e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_zoneinfo.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1709,11 +1709,11 @@ static Py_ssize_t
17091709
parse_abbr(const char *const p, PyObject **abbr)
17101710
{
17111711
const char *ptr = p;
1712-
char buff = *ptr;
17131712
const char *str_start;
17141713
const char *str_end;
17151714

17161715
if (*ptr == '<') {
1716+
char buff;
17171717
ptr++;
17181718
str_start = ptr;
17191719
while ((buff = *ptr) != '>') {

0 commit comments

Comments
 (0)