diff options
author | David Mitchell <davem@iabyn.com> | 2012-11-13 11:02:36 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2012-11-15 22:41:07 +0000 |
commit | 25e3aa3332bf90bf0b2b8dd3e9a7762d9da4fe8f (patch) | |
tree | da2a471ee0ab46d27e8929f23be13d4eb6b58541 /pp_hot.c | |
parent | 17c916408b4fa9ea0f555e5583672e6aa22f49cf (diff) | |
download | perl-25e3aa3332bf90bf0b2b8dd3e9a7762d9da4fe8f.tar.gz |
pp_iter: reindent after removing if block
only whitespace changes
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -1919,23 +1919,23 @@ PP(pp_iter) if (SvNIOK(cur) || SvCUR(cur) > maxlen) RETPUSHNO; - if (SvREFCNT(*itersvp) == 1 && !SvMAGICAL(*itersvp)) { - /* safe to reuse old SV */ - sv_setsv(*itersvp, cur); - } - else - { - /* we need a fresh SV every time so that loop body sees a - * completely new SV for closures/references to work as - * they used to */ - oldsv = *itersvp; - *itersvp = newSVsv(cur); - SvREFCNT_dec(oldsv); - } - if (strEQ(SvPVX_const(cur), max)) - sv_setiv(cur, 0); /* terminate next time */ - else - sv_inc(cur); + if (SvREFCNT(*itersvp) == 1 && !SvMAGICAL(*itersvp)) { + /* safe to reuse old SV */ + sv_setsv(*itersvp, cur); + } + else + { + /* we need a fresh SV every time so that loop body sees a + * completely new SV for closures/references to work as + * they used to */ + oldsv = *itersvp; + *itersvp = newSVsv(cur); + SvREFCNT_dec(oldsv); + } + if (strEQ(SvPVX_const(cur), max)) + sv_setiv(cur, 0); /* terminate next time */ + else + sv_inc(cur); break; } |