summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-06-19 06:43:08 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-06-19 10:26:25 -0400
commit148f39b7de6eae9ddd59e0b0aff691d6abea7aca (patch)
tree4234b72396b4e97e8fa5001078366a908af83e6a /malloc.c
parent8ce6f80a4321cf8eaae14a6a8401f8e597c25f25 (diff)
downloadperl-148f39b7de6eae9ddd59e0b0aff691d6abea7aca.tar.gz
/* NOTREACHED */ belongs *before* the unreachable.
Definitely not *after* it. It marks the start of the unreachable, not the first unrechable line. And if they are in that order, it looks better to linebreak after the lint hint.
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index a99663ef56..2ba76b173d 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1056,7 +1056,8 @@ emergency_sbrk(MEM_SIZE size)
do_croak:
MALLOC_UNLOCK;
emergency_sbrk_croak("Out of memory during request for %"UVuf" bytes, total sbrk() is %"UVuf" bytes", (UV)size, (UV)(goodsbrk + sbrk_slack));
- assert(0); /* NOTREACHED */
+ /* NOTREACHED */
+ assert(0);
return NULL;
}