diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-02-17 13:41:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-17 13:41:15 (GMT) |
commit | 3d235f5c5c5bce6e0caec44d2ce17f670c2ca2d7 (patch) | |
tree | 5631751141be6e05fcf5f6d7321511c3e3317a9b /Objects | |
parent | 1b55b65638254aa78b005fbf0b71fb02499f1852 (diff) | |
download | cpython-3d235f5c5c5bce6e0caec44d2ce17f670c2ca2d7.zip cpython-3d235f5c5c5bce6e0caec44d2ce17f670c2ca2d7.tar.gz cpython-3d235f5c5c5bce6e0caec44d2ce17f670c2ca2d7.tar.bz2 |
bpo-39500: Fix compile warnings in unicodeobject.c (GH-18519)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ PyUnicode_IsIdentifier(PyObject *self) return 0; } - int kind; - void *data; + int kind = 0; + void *data = NULL; wchar_t *wstr; if (ready) { kind = PyUnicode_KIND(self); |