]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix GCC warning in Python/hamt.c (GH-7618)
authorZackery Spytz <zspytz@gmail.com>
Fri, 6 Jul 2018 08:50:38 +0000 (02:50 -0600)
committerINADA Naoki <methane@users.noreply.github.com>
Fri, 6 Jul 2018 08:50:38 +0000 (17:50 +0900)
Python/hamt.c

index f8bce5961afc61f87bbc33f715d0ab8c09852d30..562f777ea0bf86837c5d240f05e9a30cda91994e 100644 (file)
@@ -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),