From: Florian Ragwitz Date: Thu, 4 Dec 2008 03:21:43 +0000 (+0000) Subject: Silence a gcc warning. X-Git-Tag: 0.71_01~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=733e88315a3892aa5e1ca956fbd3f93c40f70c2c;p=gitmo%2FClass-MOP.git Silence a gcc warning. --- diff --git a/MOP.xs b/MOP.xs index 39e54b4..e25d7b0 100644 --- a/MOP.xs +++ b/MOP.xs @@ -104,6 +104,8 @@ mop_update_method_map(pTHX_ SV* const self, SV* const class_name, HV* const stas here. */ gv_init((GV*)gv, stash, method_name, method_name_len, GV_ADDMULTI); /* fall through */ + default: + break; } if ( SvTYPE(gv) == SVt_PVGV && (cv = GvCVu(gv)) ) {