Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 56c7acf

Browse filesBrowse files
committed
bpo-43360: Remove dead initialization from parse_abbr function
1 parent ac66cc1 commit 56c7acf
Copy full SHA for 56c7acf

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Modules/_zoneinfo.c

Copy file name to clipboardExpand all lines: Modules/_zoneinfo.c
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.