Avoid c compiler warnings by declaring some unused function arguments.
Florian Ragwitz [Tue, 7 Apr 2009 15:12:37 +0000 (17:12 +0200)]
xs/MOP.xs

index f92a1cc..378f874 100644 (file)
--- 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;
 }