projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5693d82
)
newHV doesn't need to turn off POK or NOK, as they will default to not
Nicholas Clark [Sun, 18 Feb 2007 17:56:13 +0000 (17:56 +0000)]
being set.
p4raw-id: //depot/perl@30345
hv.c
patch
|
blob
|
blame
|
history
diff --git
a/hv.c
b/hv.c
index
ccc10df
..
903d0b8
100644
(file)
--- a/
hv.c
+++ b/
hv.c
@@
-1401,8
+1401,7
@@
Perl_newHV(pTHX)
sv_upgrade((SV *)hv, SVt_PVHV);
xhv = (XPVHV*)SvANY(hv);
- SvPOK_off(hv);
- SvNOK_off(hv);
+ assert(!SvOK(hv));
#ifndef NODEFAULT_SHAREKEYS
HvSHAREKEYS_on(hv); /* key-sharing on by default */
#endif