From: Yury Selivanov Date: Fri, 2 Feb 2018 03:24:56 +0000 (-0500) Subject: bpo-32436: Fix compiler warning (#5483) X-Git-Tag: v3.8.0a1~2283 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55e0839f2672e029c2b96514028c77c31ffbe41f;p=thirdparty%2FPython%2Fcpython.git bpo-32436: Fix compiler warning (#5483) --- diff --git a/Python/hamt.c b/Python/hamt.c index 8998dbd76d2e..c9acbbcc5acc 100644 --- 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);