summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-11-18 16:48:48 +0000
committerDavid Mitchell <davem@iabyn.com>2013-11-18 17:14:22 +0000
commite5411d1e697dbd2a9c54734aac44ac6189b517e0 (patch)
treedb7fcedaeaf0f0ddde0b772a6886f5d385b03811
parent3d1c4d8b006d0c1d01e22169a4db20c266592baf (diff)
downloadperl-e5411d1e697dbd2a9c54734aac44ac6189b517e0.tar.gz
XS::Typemap: silence compiler warning.
xsubpp will give us a RETVAL var whether we use it not.
-rw-r--r--ext/XS-Typemap/Typemap.pm2
-rw-r--r--ext/XS-Typemap/Typemap.xs1
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/XS-Typemap/Typemap.pm b/ext/XS-Typemap/Typemap.pm
index 4bf7e70cf0..583726a528 100644
--- a/ext/XS-Typemap/Typemap.pm
+++ b/ext/XS-Typemap/Typemap.pm
@@ -36,7 +36,7 @@ require XSLoader;
use vars qw/ $VERSION @EXPORT /;
-$VERSION = '0.11';
+$VERSION = '0.12';
@EXPORT = (qw/
T_SV
diff --git a/ext/XS-Typemap/Typemap.xs b/ext/XS-Typemap/Typemap.xs
index a43c843838..0eb68e54ee 100644
--- a/ext/XS-Typemap/Typemap.xs
+++ b/ext/XS-Typemap/Typemap.xs
@@ -440,6 +440,7 @@ bool
T_BOOL_2( in )
bool in
CODE:
+ PERL_UNUSED_VAR(RETVAL);
OUTPUT:
in