summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-03-21 16:31:52 +0000
committerNicholas Clark <nick@ccl4.org>2007-03-21 16:31:52 +0000
commita93c8a9e4a51d34ca994257e736b80ca04ec6f9e (patch)
tree583af803bce0f2bc27c820559b32d6fc283e657b /util.c
parentc561b895048291f970e2d0a6211bf7838766babe (diff)
downloadperl-a93c8a9e4a51d34ca994257e736b80ca04ec6f9e.tar.gz
Remove the (sometimes) unused variable from change 30652.
p4raw-id: //depot/perl@30661
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util.c b/util.c
index b6acab49b9..edd51b540d 100644
--- a/util.c
+++ b/util.c
@@ -258,11 +258,13 @@ Perl_safesyscalloc(MEM_SIZE count, MEM_SIZE size)
{
dTHX;
Malloc_t ptr;
+#ifdef DEBUGGING
const MEM_SIZE total_size = size * count
-#ifdef PERL_TRACK_MEMPOOL
+#ifdef PERL_TRACK_MEMPOOL
+ sTHX
#endif
;
+#endif
#ifdef HAS_64K_LIMIT
if (total_size > 0xffff) {