summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2008-02-12 05:00:18 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-02-13 10:03:43 +0000
commitbabfacb9bd93a47857db18ca6a2ffb50458aefb3 (patch)
treea88ccaa065527a33c384fdc6cb27ffd5dbfa3fc8 /perlio.c
parente25a7dc23f32d0dd4f1c4c8645877a39bdb9d4b7 (diff)
downloadperl-babfacb9bd93a47857db18ca6a2ffb50458aefb3.tar.gz
Unused var in perlio.c (revised)
From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510802120700q689fb457ya5939bb440626157@mail.gmail.com> p4raw-id: //depot/perl@33296
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/perlio.c b/perlio.c
index b7f2b14be7..597bf78afc 100644
--- a/perlio.c
+++ b/perlio.c
@@ -4103,6 +4103,9 @@ void
PerlIOBuf_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR * ptr, SSize_t cnt)
{
PerlIOBuf * const b = PerlIOSelf(f, PerlIOBuf);
+#ifndef DEBUGGING
+ PERL_UNUSED_ARG(cnt);
+#endif
if (!b->buf)
PerlIO_get_base(f);
b->ptr = ptr;