This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix various compiler warnings from XS code
[perl5.git] / dist / ExtUtils-ParseXS / t / XSMore.xs
index f2fe902..0777f89 100644 (file)
@@ -16,6 +16,7 @@ outlist(int* a, int* b){
 
 STATIC int
 len(const char* const s, int const l){
+       PERL_UNUSED_ARG(s);
        return l;
 }
 
@@ -84,6 +85,7 @@ int
 myabs(...)
 OVERLOAD: abs
 CODE:
+       PERL_UNUSED_VAR(items);
        RETVAL = 42;
 OUTPUT:
        RETVAL