]> granicus.if.org Git - python/commit
Remove redundant check for tb != NULL to shut up Coverity . It has been set to Py_Non...
authorChristian Heimes <christian@python.org>
Thu, 16 Apr 2015 15:25:45 +0000 (17:25 +0200)
committerChristian Heimes <christian@python.org>
Thu, 16 Apr 2015 15:25:45 +0000 (17:25 +0200)
commite8e4283cecd99ce7eb07c2786e385d22946e15cd
treea62b71554094ef9418d0b24dae2aeb92059f1910
parent82adeffc13e50676b94011844865fe458070a24d
Remove redundant check for tb != NULL to shut up Coverity . It has been set to Py_None a couple of lines earlier.
CID 1291697 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking tb suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
Python/pylifecycle.c