diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-05-31 16:54:22 +0200 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-06-13 00:00:33 +0200 |
commit | dc3bf405700292479bd7ac9b4b914cabd6567c33 (patch) | |
tree | 17a4589bbc50f498dcc2609f9e6ea3718990391b /perly.c | |
parent | acfd4d8e7fdfa20116069fff8faae1108f58a00e (diff) | |
download | perl-dc3bf405700292479bd7ac9b4b914cabd6567c33.tar.gz |
Silence several -Wunused-parameter warnings about my_perl
This meant sprinkling some PERL_UNUSED_CONTEXT invocations,
as well as stopping some functions from getting my_perl in
the first place; all of the functions in the latter category
are internal (S_ prefix and s or i in embed.fnc), so
this should be both safe and economical.
Diffstat (limited to 'perly.c')
-rw-r--r-- | perly.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -93,6 +93,7 @@ do { \ static void yysymprint(pTHX_ PerlIO * const yyoutput, int yytype, const YYSTYPE * const yyvaluep) { + PERL_UNUSED_CONTEXT; if (yytype < YYNTOKENS) { YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); # ifdef YYPRINT |