From: Vincent Pit Date: Mon, 18 Jan 2010 21:41:01 +0000 (+0100) Subject: Silence a switch warning X-Git-Tag: v0.10~5 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=405dd2663fee25a75b10516c11d1aceaadccfda4;p=perl%2Fmodules%2FScope-Upper.git Silence a switch warning --- diff --git a/Upper.xs b/Upper.xs index 7a2a79a..61f8560 100644 --- a/Upper.xs +++ b/Upper.xs @@ -401,6 +401,7 @@ STATIC void su_ud_localize_init(pTHX_ su_ud_localize *ud, SV *sv, SV *val, SV *e case SVt_PVCV: case SVt_PVGV: deref = 0; + default: break; } /* When deref is set, val isn't NULL */