diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-04-17 13:14:55 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-04-17 13:14:55 +0000 |
commit | ce3e5c451d1a009a73fa3a69c256b0fd8af3aa33 (patch) | |
tree | f0f4f8f84e8cdb6c3b7055e7158497558367ace7 /hv.c | |
parent | c2b7afd3c0b668fe31fd8835d487d6343bfcf526 (diff) | |
download | perl-ce3e5c451d1a009a73fa3a69c256b0fd8af3aa33.tar.gz |
Add assertions to cover cases where the Coverity scanner thinks we
could are deferencing a NULL pointer, but we think it missed something
it should have been capable of figuring out.
p4raw-id: //depot/perl@27867
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -72,6 +72,7 @@ S_new_he(pTHX) if (!*root) S_more_he(aTHX); he = *root; + assert(he); *root = HeNEXT(he); UNLOCK_SV_MUTEX; return he; |