projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88ab22a
)
pp_match(): remove ret_no label
author
David Mitchell
<davem@iabyn.com>
Sun, 16 Jun 2013 15:09:07 +0000
(16:09 +0100)
committer
David Mitchell
<davem@iabyn.com>
Sun, 28 Jul 2013 09:33:35 +0000
(10:33 +0100)
The nope: and ret_no: labels labelled the same point in the code.
Eliminate one of them.
pp_hot.c
patch
|
blob
|
history
diff --git
a/pp_hot.c
b/pp_hot.c
index
ceb934d
..
899f35f
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-1466,7
+1466,7
@@
PP(pp_match)
}
if (!CALLREGEXEC(rx, (char*)s, (char *)strend, (char*)truebase,
minmatch, TARG, NUM2PTR(void*, gpos), r_flags))
- goto
ret_no
;
+ goto
nope
;
gotcha:
PL_curpm = pm;
@@
-1542,7
+1542,6
@@
PP(pp_match)
/* NOTREACHED */
nope:
-ret_no:
if (global && !(dynpm->op_pmflags & PMf_CONTINUE)) {
MAGIC* const mg = mg_find_mglob(TARG);
if (mg)