Skip to content

Commit df5f779

Browse files
committed
gv_magicalize: remove two goto's
The previous commit moved a block, so that now these aren't necessary
1 parent 01a99c5 commit df5f779

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gv.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2130,7 +2130,6 @@ S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len,
21302130
default:
21312131
goto try_core;
21322132
}
2133-
goto ret;
21342133
}
21352134
else if (len > 1) {
21362135
switch (*name) {
@@ -2288,7 +2287,7 @@ S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len,
22882287
this test */
22892288
UV uv;
22902289
if (!grok_atoUV(name, &uv, NULL) || uv > I32_MAX)
2291-
goto ret;
2290+
break;
22922291
/* XXX why are we using a SSize_t? */
22932292
paren = (SSize_t)(I32)uv;
22942293
goto storeparen;

0 commit comments

Comments
 (0)