From: Jarkko Hietaniemi Date: Tue, 20 Nov 2001 20:12:06 +0000 (+0000) Subject: Really define do_report_used() only if DEBUGGING. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=758a08c30aea50da395b8956fd114bbcb2c519a0;p=p5sagit%2Fp5-mst-13.2.git Really define do_report_used() only if DEBUGGING. p4raw-id: //depot/perl@13139 --- diff --git a/sv.c b/sv.c index 7a0b5b3..b1da4a8 100644 --- a/sv.c +++ b/sv.c @@ -295,18 +295,19 @@ S_visit(pTHX_ SVFUNC_t f) return visited; } +#ifdef DEBUGGING + /* called by sv_report_used() for each live SV */ static void do_report_used(pTHX_ SV *sv) { -#ifdef DEBUGGING if (SvTYPE(sv) != SVTYPEMASK) { PerlIO_printf(Perl_debug_log, "****\n"); sv_dump(sv); } -#endif } +#endif /* =for apidoc sv_report_used