Skip to content

Commit 56c7acf

Browse files
committed
bpo-43360: Remove dead initialization from parse_abbr function
1 parent ac66cc1 commit 56c7acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_zoneinfo.c

Lines changed: 1 addition & 1 deletion
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)