projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01a0cb8
)
bpo-32436: Fix compiler warning (#5483)
author
Yury Selivanov
<yury@magic.io>
Fri, 2 Feb 2018 03:24:56 +0000
(22:24 -0500)
committer
GitHub
<noreply@github.com>
Fri, 2 Feb 2018 03:24:56 +0000
(22:24 -0500)
Python/hamt.c
patch
|
blob
|
history
diff --git
a/Python/hamt.c
b/Python/hamt.c
index 8998dbd76d2efabf3096e82d8d8b939decc1b114..c9acbbcc5acc3ca2eddce0edcbffd26e8171132b 100644
(file)
--- a/
Python/hamt.c
+++ b/
Python/hamt.c
@@
-2358,6
+2358,8
@@
_PyHamt_Without(PyHamtObject *o, PyObject *key)
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);