From: Florian Ragwitz Date: Sun, 2 Jan 2011 12:37:15 +0000 (+0100) Subject: Stop passing around unused values X-Git-Tag: 1.9901~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7250345420e51bbe4b173a05bd22262ec4a87be8;p=gitmo%2FMoose.git Stop passing around unused values --- diff --git a/xs/HasMethods.xs b/xs/HasMethods.xs index 0e617eb..78f15dc 100644 --- a/xs/HasMethods.xs +++ b/xs/HasMethods.xs @@ -5,7 +5,7 @@ SV *mop_associated_metaclass; SV *mop_wrap; static void -mop_update_method_map(pTHX_ SV *const self, SV *const class_name, HV *const stash, HV *const map) +mop_update_method_map(pTHX_ HV *const stash, HV *const map) { char *method_name; I32 method_name_len; @@ -74,7 +74,7 @@ _method_map(self) } if ( !SvOK(cache_flag) || SvUV(cache_flag) != current ) { - mop_update_method_map(aTHX_ self, class_name, stash, (HV *)SvRV(map_ref)); + mop_update_method_map(aTHX_ stash, (HV *)SvRV(map_ref)); sv_setuv(cache_flag, mop_check_package_cache_flag(aTHX_ stash)); /* update_cache_flag() */ }