summaryrefslogtreecommitdiff
path: root/pp_sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'pp_sort.c')
-rw-r--r--pp_sort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pp_sort.c b/pp_sort.c
index 1d6f7d6a95..63214b9487 100644
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -1703,14 +1703,14 @@ PP(pp_sort)
PL_stack_sp = PL_stack_base + cx->blk_oldsp;
+ CX_LEAVE_SCOPE(cx);
if (!(flags & OPf_SPECIAL)) {
assert(CxTYPE(cx) == CXt_SUB);
POPSUB(cx);
}
- else {
+ else
assert(CxTYPE(cx) == CXt_NULL);
- CX_LEAVE_SCOPE(cx);
- }
+ /* there isn't a POPNULL ! */
POPBLOCK(cx);
cxstack_ix--;