Kaydet (Commit) 78767786 authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) Yury Selivanov

bpo-32436: Fix compiler warning (GH-5483) (GH-5486)

(cherry picked from commit 55e0839f)
Co-authored-by: 's avatarYury Selivanov <yury@magic.io>
üst 5d2dcd04
...@@ -2358,6 +2358,8 @@ _PyHamt_Without(PyHamtObject *o, PyObject *key) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment