summaryrefslogtreecommitdiffstats
path: root/Python/hamt.c
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2018-07-06 08:50:38 (GMT)
committerINADA Naoki <methane@users.noreply.github.com>2018-07-06 08:50:38 (GMT)
commitd8c3e820b4fcdc45b80ba47f615c95e99e2e931b (patch)
treeb229414ad7399f710239cccc1a24a3cc7a2c3118 /Python/hamt.c
parentc4ef4896eac86a6759901c8546e26de4695a1389 (diff)
downloadcpython-d8c3e820b4fcdc45b80ba47f615c95e99e2e931b.zip
cpython-d8c3e820b4fcdc45b80ba47f615c95e99e2e931b.tar.gz
cpython-d8c3e820b4fcdc45b80ba47f615c95e99e2e931b.tar.bz2
Fix GCC warning in Python/hamt.c (GH-7618)
Diffstat (limited to 'Python/hamt.c')
-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),