summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-930716
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-23 09:06:36 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-23 09:06:36 +0000
commita5ccd4df72ddc8a76ee662de645ca85d0d30052f (patch)
tree961c9fc4f4f982970dddb113d87233554862ac6e /libc/stdlib/malloc-930716
parenta018fc556428d4e4c3579b1f36f9c0ee5e1cc2b9 (diff)
Kill the needless '#if 1'
Diffstat (limited to 'libc/stdlib/malloc-930716')
-rw-r--r--libc/stdlib/malloc-930716/malloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/stdlib/malloc-930716/malloc.c b/libc/stdlib/malloc-930716/malloc.c
index db93311a2..2467da41c 100644
--- a/libc/stdlib/malloc-930716/malloc.c
+++ b/libc/stdlib/malloc-930716/malloc.c
@@ -160,11 +160,9 @@ void * __malloc_unlocked (size_t size)
size_t log, block, blocks, i, lastblocks, start;
struct list *next;
-#if 1
/* Some programs will call malloc (0). Lets be strict and return NULL */
if (size == 0)
return NULL;
-#endif
if (size < sizeof (struct list))
size = sizeof (struct list);