From: Vincent Pit Date: Sat, 24 Jan 2009 19:34:21 +0000 (+0100) Subject: count isn't used anymore in vmg_svt_len() X-Git-Tag: v0.29~9 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=ed1f29a02e9894bb90bb4f3f3d42d7fe0fd3e545;p=perl%2Fmodules%2FVariable-Magic.git count isn't used anymore in vmg_svt_len() --- diff --git a/Magic.xs b/Magic.xs index dfce918..76e8821 100644 --- a/Magic.xs +++ b/Magic.xs @@ -550,7 +550,6 @@ STATIC U32 vmg_svt_len(pTHX_ SV *sv, MAGIC *mg) { U32 ret; dSP; - int count; has_array = SvTYPE(sv) == SVt_PVAV; @@ -570,7 +569,7 @@ STATIC U32 vmg_svt_len(pTHX_ SV *sv, MAGIC *mg) { } PUTBACK; - count = call_sv(SV2MGWIZ(mg->mg_ptr)->cb_len, G_SCALAR); + call_sv(SV2MGWIZ(mg->mg_ptr)->cb_len, G_SCALAR); SPAGAIN; svr = POPs;