Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 55e0839

Browse files
authored
bpo-32436: Fix compiler warning (#5483)
1 parent 01a0cb8 commit 55e0839

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Python/hamt.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,6 +2358,8 @@ _PyHamt_Without(PyHamtObject *o, PyObject *key)
23582358
Py_INCREF(o);
23592359
return o;
23602360
case W_NEWNODE: {
2361+
assert(new_root != NULL);
2362+
23612363
PyHamtObject *new_o = hamt_alloc();
23622364
if (new_o == NULL) {
23632365
Py_DECREF(new_root);

0 commit comments

Comments
 (0)