commit | 78767786a87b00925506c32b3b55cf65b56ef3d7 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Thu Feb 01 19:58:19 2018 -0800 |
committer | Yury Selivanov <yury@magic.io> | Thu Feb 01 22:58:19 2018 -0500 |
tree | 80760a854b5405255c1a57053d71b893ccc69d1a | |
parent | 5d2dcd044d875a89cb8b328612a9e1b5aece5ad9 [diff] [blame] |
bpo-32436: Fix compiler warning (GH-5483) (GH-5486) (cherry picked from commit 55e0839f2672e029c2b96514028c77c31ffbe41f) Co-authored-by: Yury Selivanov <yury@magic.io>
diff --git a/Python/hamt.c b/Python/hamt.c index 8998dbd..c9acbbc 100644 --- a/Python/hamt.c +++ b/Python/hamt.c
@@ -2358,6 +2358,8 @@ Py_INCREF(o); return o; case W_NEWNODE: { + assert(new_root != NULL); + PyHamtObject *new_o = hamt_alloc(); if (new_o == NULL) { Py_DECREF(new_root);