Skip to content

Commit 3d235f5

Browse files
authored
bpo-39500: Fix compile warnings in unicodeobject.c (GH-18519)
1 parent 1b55b65 commit 3d235f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Objects/unicodeobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12207,8 +12207,8 @@ PyUnicode_IsIdentifier(PyObject *self)
1220712207
return 0;
1220812208
}
1220912209

12210-
int kind;
12211-
void *data;
12210+
int kind = 0;
12211+
void *data = NULL;
1221212212
wchar_t *wstr;
1221312213
if (ready) {
1221412214
kind = PyUnicode_KIND(self);

0 commit comments

Comments
 (0)