Skip to content

Commit

Permalink
perlio.c: silence a couple of warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
iabyn committed Jun 14, 2016
1 parent 222c4b0 commit 5347602
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions perlio.c
Expand Up @@ -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))) );
Expand Down Expand Up @@ -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) ?
Expand Down

0 comments on commit 5347602

Please sign in to comment.