Permalink
Browse files

stop unused-var warnings in ExtUtils-ParseXS tests

These are warnings resulting from unusual features of the specific XS
code in the test suite, not from XS compilation in general.
  • Loading branch information...
Zefram
Zefram committed Nov 14, 2017
1 parent 5a110b6 commit a8c156703178fbc07334e5ac007c214d5133bc15
Showing with 5 additions and 0 deletions.
  1. +2 −0 dist/ExtUtils-ParseXS/Changes
  2. +1 −0 dist/ExtUtils-ParseXS/t/XSTest.xs
  3. +2 −0 dist/ExtUtils-ParseXS/t/XSUsage.xs
@@ -3,6 +3,8 @@ Revision history for Perl extension ExtUtils::ParseXS.
3.36
- Make generated code avoid warnings about the "items" variable
being unused
- Avoid some unused-variable warnings generated by XS code in the
test suite
3.35 - Mon Jul 31 17:50:00 CET 2017
- Fix ExtUtils-ParseXS/t/*.t that needed '.' in @INC (David Mitchell)
@@ -76,6 +76,7 @@ bool
T_BOOL_2(in)
bool in
CODE:
PERL_UNUSED_VAR(RETVAL);
OUTPUT: in
void
@@ -35,6 +35,8 @@ xsusage_two()
ALIAS:
two_x = 1
FOO::two = 2
INIT:
PERL_UNUSED_VAR(ix);
int
interface_v_i()

0 comments on commit a8c1567

Please sign in to comment.