diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2015-06-22 22:47:50 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-06-26 23:09:41 -0400 |
commit | b66176f0a6f1ac30881749906bd6cc3a2e18f097 (patch) | |
tree | 76e37b146fa1516f1bd123f5c1cacdbadba589cc /hv.c | |
parent | 3bde2d43b7d173c5ef54ae544f9c18a705007265 (diff) | |
download | perl-b66176f0a6f1ac30881749906bd6cc3a2e18f097.tar.gz |
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;
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -742,7 +742,7 @@ Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, if (flags & HVhek_FREEKEY) Safefree(key); if (return_svp) { - return entry ? (void *) &HeVAL(entry) : NULL; + return (void *) &HeVAL(entry); } return entry; } |