This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
XS::Typemap: silence compiler warning.
authorDavid Mitchell <davem@iabyn.com>
Mon, 18 Nov 2013 16:48:48 +0000 (16:48 +0000)
committerDavid Mitchell <davem@iabyn.com>
Mon, 18 Nov 2013 17:14:22 +0000 (17:14 +0000)
xsubpp will give us a RETVAL var whether we use it not.

ext/XS-Typemap/Typemap.pm
ext/XS-Typemap/Typemap.xs

index 4bf7e70..583726a 100644 (file)
@@ -36,7 +36,7 @@ require XSLoader;
 
 use vars qw/ $VERSION @EXPORT /;
 
-$VERSION = '0.11';
+$VERSION = '0.12';
 
 @EXPORT = (qw/
           T_SV
index a43c843..0eb68e5 100644 (file)
@@ -440,6 +440,7 @@ bool
 T_BOOL_2( in )
   bool in
  CODE:
+    PERL_UNUSED_VAR(RETVAL);
  OUTPUT:
    in