summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-05-09 14:23:38 +0100
committerDavid Mitchell <davem@iabyn.com>2013-05-09 14:34:00 +0100
commit9a9b5ec9e94e1e207c265a6acd160fc49bca06fa (patch)
tree6d172543e9d62b5ce6dd790ada6130c3bdeae0c7 /doio.c
parent3231f5793f6a3d7ee78eb1d68feb05c064b33315 (diff)
downloadperl-9a9b5ec9e94e1e207c265a6acd160fc49bca06fa.tar.gz
silence warnings under NO_TAINT_SUPPORT
The are lots of places where local vars aren't used when compiled with NO_TAINT_SUPPORT.
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/doio.c b/doio.c
index 56c10198b1..2d65d547a0 100644
--- a/doio.c
+++ b/doio.c
@@ -1589,6 +1589,8 @@ Perl_apply(pTHX_ I32 type, SV **mark, SV **sp)
PERL_ARGS_ASSERT_APPLY;
+ PERL_UNUSED_VAR(what); /* may not be used depending on compile options */
+
/* Doing this ahead of the switch statement preserves the old behaviour,
where attempting to use kill as a taint test test would fail on
platforms where kill was not defined. */