This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e25a7dc
)
Unused var in perlio.c (revised)
author
Jerry D. Hedden
<jdhedden@cpan.org>
Tue, 12 Feb 2008 10:00:18 +0000
(
05:00
-0500)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 13 Feb 2008 10:03:43 +0000
(10:03 +0000)
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802120700q689fb457ya5939bb440626157@mail.gmail.com>
p4raw-id: //depot/perl@33296
perlio.c
patch
|
blob
|
blame
|
history
diff --git
a/perlio.c
b/perlio.c
index
b7f2b14
..
597bf78
100644
(file)
--- 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;