From: Florian Ragwitz Date: Tue, 7 Apr 2009 15:12:37 +0000 (+0200) Subject: Avoid c compiler warnings by declaring some unused function arguments. X-Git-Tag: 0.81~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2dba318b2f836c879eb8a0622643c3d7150d3b70;p=gitmo%2FClass-MOP.git Avoid c compiler warnings by declaring some unused function arguments. --- diff --git a/xs/MOP.xs b/xs/MOP.xs index f92a1cc..378f874 100644 --- a/xs/MOP.xs +++ b/xs/MOP.xs @@ -8,6 +8,9 @@ static bool find_method (const char *key, STRLEN keylen, SV *val, void *ud) { bool *found_method = (bool *)ud; + PERL_UNUSED_ARG(key); + PERL_UNUSED_ARG(keylen); + PERL_UNUSED_ARG(val); *found_method = TRUE; return FALSE; }