summaryrefslogtreecommitdiff
path: root/mro.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2014-05-31 16:54:22 +0200
committerBrian Fraser <fraserbn@gmail.com>2014-06-13 00:00:33 +0200
commitdc3bf405700292479bd7ac9b4b914cabd6567c33 (patch)
tree17a4589bbc50f498dcc2609f9e6ea3718990391b /mro.c
parentacfd4d8e7fdfa20116069fff8faae1108f58a00e (diff)
downloadperl-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 'mro.c')
-rw-r--r--mro.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mro.c b/mro.c
index bd62e9da08..2440397fae 100644
--- a/mro.c
+++ b/mro.c
@@ -142,6 +142,7 @@ Perl_mro_meta_init(pTHX_ HV* stash)
struct mro_meta* newmeta;
PERL_ARGS_ASSERT_MRO_META_INIT;
+ PERL_UNUSED_CONTEXT;
assert(HvAUX(stash));
assert(!(HvAUX(stash)->xhv_mro_meta));
Newxz(newmeta, 1, struct mro_meta);