From dc3bf405700292479bd7ac9b4b914cabd6567c33 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Sat, 31 May 2014 16:54:22 +0200 Subject: 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. --- mro.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mro.c') 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); -- cgit v1.2.1