commit | 3d235f5c5c5bce6e0caec44d2ce17f670c2ca2d7 | [log] [tgz] |
---|---|---|
author | Hai Shi <shihai1992@gmail.com> | Mon Feb 17 21:41:15 2020 +0800 |
committer | GitHub <noreply@github.com> | Mon Feb 17 14:41:15 2020 +0100 |
tree | 5631751141be6e05fcf5f6d7321511c3e3317a9b | |
parent | 1b55b65638254aa78b005fbf0b71fb02499f1852 [diff] |
bpo-39500: Fix compile warnings in unicodeobject.c (GH-18519)
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 11fa1fb5..4475eca 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -12207,8 +12207,8 @@ return 0; } - int kind; - void *data; + int kind = 0; + void *data = NULL; wchar_t *wstr; if (ready) { kind = PyUnicode_KIND(self);