summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasmine Ngan <jasmine.ngan@outlook.com>2015-02-24 14:37:17 +0000
committerDavid Mitchell <davem@iabyn.com>2015-02-24 14:37:17 +0000
commitd3db15144cd5a765432a4454baa35bc2e847a1eb (patch)
treed234596260d771f90e4f7959f182a17a3c6f9bfa
parentb53eee5dcaba7597084a8dcdea596adfbc2b9544 (diff)
downloadperl-d3db15144cd5a765432a4454baa35bc2e847a1eb.tar.gz
fix some spurious PERL_UNUSED_ARG/VAR() usage
The 'output_warning' param is actually used, and 'items' is not a function argument but a local variable.
-rw-r--r--AUTHORS1
-rw-r--r--dquote_static.c2
-rw-r--r--perl.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/AUTHORS b/AUTHORS
index 97b8558461..c1b6ae2485 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -534,6 +534,7 @@ Jared Rhine <jared@organic.com>
Jari Aalto <jari.aalto@poboxes.com>
Jarkko Hietaniemi <jhi@iki.fi>
Jasmine Ahuja <jasmine.ahuja11@gmail.com>
+Jasmine Ngan <jasmine.ngan@outlook.com>
Jason A. Smith <smithj4@rpi.edu>
Jason E. Stewart <jason@openinformatics.com>
Jason Hord <pravus@cpan.org>
diff --git a/dquote_static.c b/dquote_static.c
index f993f53dac..93c023b01e 100644
--- a/dquote_static.c
+++ b/dquote_static.c
@@ -218,8 +218,6 @@ S_grok_bslash_x(pTHX_ char **s, UV *uv, const char** error_msg,
PERL_ARGS_ASSERT_GROK_BSLASH_X;
- PERL_UNUSED_ARG(output_warning);
-
assert(**s == 'x');
(*s)++;
diff --git a/perl.c b/perl.c
index d4deb9d344..d41ebedc97 100644
--- a/perl.c
+++ b/perl.c
@@ -1772,7 +1772,7 @@ S_Internals_V(pTHX_ CV *cv)
# endif
;
PERL_UNUSED_ARG(cv);
- PERL_UNUSED_ARG(items);
+ PERL_UNUSED_VAR(items);
EXTEND(SP, entries);