summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-06-13 08:45:16 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-06-15 12:28:15 -0700
commit118e2215c7570362a701ac5fda6148b6d3542eae (patch)
tree248694801974be0578e4ccc9e8d90fd7db5d4b32 /malloc.c
parent0d856a3ae8873b88b1fb47a0d9520f3db9e27b85 (diff)
downloadperl-118e2215c7570362a701ac5fda6148b6d3542eae.tar.gz
Use assertions for /* NOT REACHED */
to make sure it really is never reached.
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index d367d9d792..ea8b69a08b 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1091,7 +1091,7 @@ 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));
- /* NOTREACHED */
+ assert(0); /* NOTREACHED */
return NULL;
}