bpo-32436: Fix compiler warning (GH-5483) (GH-5486) · python/cpython@7876778 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 7876778

miss-islington1st1

and

committed

(cherry picked from commit 55e0839) Co-authored-by: Yury Selivanov yury@magic.io

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -2358,6 +2358,8 @@ _PyHamt_Without(PyHamtObject *o, PyObject *key)
2358 2358 Py_INCREF(o);
2359 2359 return o;
2360 2360 case W_NEWNODE: {
2361 +assert(new_root != NULL);
2362 +
2361 2363 PyHamtObject *new_o = hamt_alloc();
2362 2364 if (new_o == NULL) {
2363 2365 Py_DECREF(new_root);