summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-06-14 10:24:30 +0100
committerDavid Mitchell <davem@iabyn.com>2016-06-14 10:24:30 +0100
commit5347602a6bb67df5acf516eeba93020f8a3bdf5f (patch)
tree65a9a809dce20177ab1bc2191fa9da2d68dd34b1 /perlio.c
parent222c4b0094b4145d06cb164bedd2a66a3141203b (diff)
downloadperl-5347602a6bb67df5acf516eeba93020f8a3bdf5f.tar.gz
perlio.c: silence a couple of warnings
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/perlio.c b/perlio.c
index 27710e3b84..d44c67f901 100644
--- a/perlio.c
+++ b/perlio.c
@@ -848,6 +848,7 @@ XS(XS_PerlIO__Layer__NoWarnings)
*/
dXSARGS;
PERL_UNUSED_ARG(cv);
+ PERL_UNUSED_VAR(items);
DEBUG_i(
if (items)
PerlIO_debug("warning:%s\n",SvPV_nolen_const(ST(0))) );
@@ -1299,6 +1300,9 @@ PerlIO_apply_layers(pTHX_ PerlIO *f, const char *mode, const char *names)
int
PerlIO_binmode(pTHX_ PerlIO *f, int iotype, int mode, const char *names)
{
+ PERL_UNUSED_ARG(iotype);
+ PERL_UNUSED_ARG(mode);
+
DEBUG_i(
PerlIO_debug("PerlIO_binmode f=%p %s %c %x %s\n", (void*)f,
(PerlIOBase(f) && PerlIOBase(f)->tab) ?