summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-28 15:43:59 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-28 15:43:59 +0000
commit943795c2b00ef89ec677d4af7a0a6bfabab5c916 (patch)
treefb028856801be755e32829e6589c56240cea2017 /hv.c
parentd6ad01c288740636dac9d6448b5ecb6cbcab3b98 (diff)
downloadperl-943795c2b00ef89ec677d4af7a0a6bfabab5c916.tar.gz
Only compile Perl_hv_assert with DEBUGGING.
p4raw-id: //depot/perl@27622
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hv.c b/hv.c
index 86070e3669..350ddd3f76 100644
--- a/hv.c
+++ b/hv.c
@@ -2522,6 +2522,8 @@ Check that a hash is in an internally consistent state.
=cut
*/
+#ifdef DEBUGGING
+
void
Perl_hv_assert(pTHX_ HV *hv)
{
@@ -2584,6 +2586,8 @@ Perl_hv_assert(pTHX_ HV *hv)
HvEITER_set(hv, eiter);
}
+#endif
+
/*
* Local variables:
* c-indentation-style: bsd