This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Impossible for entry to be NULL at this point.
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 23 Jun 2015 02:47:50 +0000 (22:47 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 27 Jun 2015 03:09:41 +0000 (23:09 -0400)
commitb66176f0a6f1ac30881749906bd6cc3a2e18f097
tree76e37b146fa1516f1bd123f5c1cacdbadba589cc
parent3bde2d43b7d173c5ef54ae544f9c18a705007265
Impossible for entry to be NULL at this point.

740        if (return_svp) {
           notnull: At condition entry, the value of entry cannot be NULL.
           dead_error_condition: The condition entry must be true.

CID 104777: Logically dead code (DEADCODE)
dead_error_line: Execution cannot reach the expression NULL inside this statement: return entry ? (void *)&ent....
741            return entry ? (void *) &HeVAL(entry) : NULL;
hv.c