From: Vincent Pit Date: Mon, 27 Apr 2015 15:40:37 +0000 (-0300) Subject: Add a couple of missing break; statements in pp_multideref() X-Git-Tag: v0.15~16 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fautovivification.git;a=commitdiff_plain;h=d238fb2b10338d7ed57b1ec6ff5f8ee0e1d15bb8 Add a couple of missing break; statements in pp_multideref() --- diff --git a/autovivification.xs b/autovivification.xs index b9843fb..d07bac0 100644 --- a/autovivification.xs +++ b/autovivification.xs @@ -972,9 +972,9 @@ check_elem: sv = a_do_pp_aelem(sv, esv); } goto finish; - } else { - sv = a_do_pp_aelem(sv, esv); } + sv = a_do_pp_aelem(sv, esv); + break; } case MDEREF_HV_padhv_helem: /* $lex{...} */ sv = PAD_SVl((++items)->pad_offset); @@ -1040,9 +1040,9 @@ do_HV_helem: sv = a_do_pp_helem(sv, key); } goto finish; - } else { - sv = a_do_pp_helem(sv, key); } + sv = a_do_pp_helem(sv, key); + break; } }