Skip to content

Commit 985afbc

Browse files
committed
pp_match(): remove some superfluous braces
1 parent b1422d6 commit 985afbc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pp_hot.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,22 +1420,20 @@ PP(pp_match)
14201420
s = truebase;
14211421

14221422
play_it_again:
1423-
if (global) {
1423+
if (global)
14241424
s = truebase + curpos;
1425-
}
14261425

14271426
if (!CALLREGEXEC(rx, (char*)s, (char *)strend, (char*)truebase,
14281427
had_zerolen, TARG, NULL, r_flags))
14291428
goto nope;
14301429

14311430
PL_curpm = pm;
1432-
if (dynpm->op_pmflags & PMf_ONCE) {
1431+
if (dynpm->op_pmflags & PMf_ONCE)
14331432
#ifdef USE_ITHREADS
14341433
SvREADONLY_on(PL_regex_pad[dynpm->op_pmoffset]);
14351434
#else
14361435
dynpm->op_pmflags |= PMf_USED;
14371436
#endif
1438-
}
14391437

14401438
if (rxtainted)
14411439
RX_MATCH_TAINTED_on(rx);

0 commit comments

Comments
 (0)