]> granicus.if.org Git - python/commit
bpo-30860: Fix deadcode in obmalloc.c (#3499)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 14 Sep 2017 21:48:37 +0000 (14:48 -0700)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2017 21:48:37 +0000 (14:48 -0700)
commitccb3c7654cc3d031fb93bf443a6ef9cfb11f6b43
tree571f86dcc7d2d769429ca7ec9c1df730a6035a00
parentb9b69003d91c6ea94b890ce24ed25686d30f1428
bpo-30860: Fix deadcode in obmalloc.c (#3499)

Fix Coverity CID 1417587: _PyMem_Initialize() contains code which is
never executed.

Replace the runtime check with a build assertion.
Objects/obmalloc.c