From: Florian Ragwitz Date: Mon, 14 Mar 2011 04:10:31 +0000 (+0100) Subject: Suppress a bogus warning X-Git-Tag: 1.9905~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5a2ed7eaaff30c6efdc9e27f3fc81b71589ce101;p=gitmo%2FMoose.git Suppress a bogus warning --- diff --git a/xs/HasMethods.xs b/xs/HasMethods.xs index 047e1b2..e136abe 100644 --- a/xs/HasMethods.xs +++ b/xs/HasMethods.xs @@ -38,7 +38,7 @@ mop_update_method_map(pTHX_ HV *const stash, HV *const map) } /* delete $map->{$method_name} */ - hv_delete(map, method_name, method_name_len, G_DISCARD); + (void)hv_delete(map, method_name, method_name_len, G_DISCARD); } }