mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
bpo-32436: Fix compiler warning (#5483)
This commit is contained in:
parent
01a0cb8916
commit
55e0839f26
1 changed files with 2 additions and 0 deletions
|
@ -2358,6 +2358,8 @@ _PyHamt_Without(PyHamtObject *o, PyObject *key)
|
||||||
Py_INCREF(o);
|
Py_INCREF(o);
|
||||||
return o;
|
return o;
|
||||||
case W_NEWNODE: {
|
case W_NEWNODE: {
|
||||||
|
assert(new_root != NULL);
|
||||||
|
|
||||||
PyHamtObject *new_o = hamt_alloc();
|
PyHamtObject *new_o = hamt_alloc();
|
||||||
if (new_o == NULL) {
|
if (new_o == NULL) {
|
||||||
Py_DECREF(new_root);
|
Py_DECREF(new_root);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue