diff options
author | jasone <jasone@FreeBSD.org> | 2006-04-05 18:46:24 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2006-04-05 18:46:24 +0000 |
commit | 2f4016efa3ae98a055567b83671d4191cfd9a2c2 (patch) | |
tree | c990a911f30f9e98ef7d37fbee3e94d01ec0cf70 /lib/libc | |
parent | 8cc35ce532b0698c004769fffefc3abb2d5f5204 (diff) | |
download | FreeBSD-src-2f4016efa3ae98a055567b83671d4191cfd9a2c2.zip FreeBSD-src-2f4016efa3ae98a055567b83671d4191cfd9a2c2.tar.gz |
Add an unreachable return statement, in order to avoid a compiler warning
for non-standard optimization levels.
Reported by: Michael Zach <zach@webges.com>
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 8b31252..11e732f 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -1537,6 +1537,7 @@ arena_run_reg_alloc(arena_run_t *run, arena_bin_t *bin) } /* Not reached. */ assert(0); + return (NULL); } static inline void |