Skip to content

Commit

Permalink
Merge pull request #147 from demerphq/master
Browse files Browse the repository at this point in the history
Silence unused var warnings from Encode
  • Loading branch information
dankogai committed Feb 7, 2020
2 parents e6de79f + 8b72508 commit 04d9df8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Encode.xs
Expand Up @@ -982,6 +982,7 @@ ALIAS:
PREINIT:
SV *obj;
INIT:
PERL_UNUSED_VAR(ix);
SvGETMAGIC(encoding);
CODE:
if (!SvOK(encoding))
Expand All @@ -1003,6 +1004,7 @@ ALIAS:
PREINIT:
SV *obj;
INIT:
PERL_UNUSED_VAR(ix);
SvGETMAGIC(encoding);
CODE:
if (!SvOK(encoding))
Expand Down

0 comments on commit 04d9df8

Please sign in to comment.