summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-07-06 09:43:05 (GMT)
committerGitHub <noreply@github.com>2018-07-06 09:43:05 (GMT)
commit625755eb8cc2d10e02b06fb8f296252c5238a1ef (patch)
tree43477218d57ea7107d3b85a8955036c292827f70 /Python
parente217d238863b11ab3bab94bc17507b7db7583956 (diff)
downloadcpython-625755eb8cc2d10e02b06fb8f296252c5238a1ef.zip
cpython-625755eb8cc2d10e02b06fb8f296252c5238a1ef.tar.gz
cpython-625755eb8cc2d10e02b06fb8f296252c5238a1ef.tar.bz2
Fix GCC warning in Python/hamt.c (GH-7618)
(cherry picked from commit d8c3e820b4fcdc45b80ba47f615c95e99e2e931b) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Diffstat (limited to 'Python')
-rw-r--r--Python/hamt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/hamt.c b/Python/hamt.c
index f8bce59..562f777 100644
--- a/Python/hamt.c
+++ b/Python/hamt.c
@@ -2348,7 +2348,7 @@ _PyHamt_Without(PyHamtObject *o, PyObject *key)
return NULL;
}
- PyHamtNode *new_root;
+ PyHamtNode *new_root = NULL;
hamt_without_t res = hamt_node_without(
(PyHamtNode *)(o->h_root),