From: Vincent Pit Date: Sun, 28 Dec 2008 17:56:51 +0000 (+0100) Subject: Don't let coverage be distracted by such pesky trivialities X-Git-Tag: v0.02~1 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=ac794d1f5c02a97322dad2aa7e435466395cb928;p=perl%2Fmodules%2FScope-Upper.git Don't let coverage be distracted by such pesky trivialities --- diff --git a/Upper.xs b/Upper.xs index 8814d9d..264bfda 100644 --- a/Upper.xs +++ b/Upper.xs @@ -76,8 +76,7 @@ STATIC I32 su_av_preeminent(pTHX_ AV *av, I32 key) { MAGIC *mg; HV *stash; - if (!av) - return 0; + if (!av) return 0; if (SvCANEXISTDELETE(av)) return av_exists(av, key); @@ -131,8 +130,7 @@ STATIC I32 su_hv_preeminent(pTHX_ HV *hv, SV *keysv) { MAGIC *mg; HV *stash; - if (!hv) - return 0; + if (!hv) return 0; if (SvCANEXISTDELETE(hv) || mg_find((SV *) hv, PERL_MAGIC_env)) return hv_exists_ent(hv, keysv, 0);