diff options
author | Jasmine Ngan <jasmine.ngan@outlook.com> | 2015-02-24 14:37:17 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2015-02-24 14:37:17 +0000 |
commit | d3db15144cd5a765432a4454baa35bc2e847a1eb (patch) | |
tree | d234596260d771f90e4f7959f182a17a3c6f9bfa | |
parent | b53eee5dcaba7597084a8dcdea596adfbc2b9544 (diff) | |
download | perl-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-- | AUTHORS | 1 | ||||
-rw-r--r-- | dquote_static.c | 2 | ||||
-rw-r--r-- | perl.c | 2 |
3 files changed, 2 insertions, 3 deletions
@@ -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)++; @@ -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); |