OSDN Git Service

Kill the needless '#if 1'
authorEric Andersen <andersen@codepoet.org>
Thu, 23 Jan 2003 09:06:36 +0000 (09:06 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 23 Jan 2003 09:06:36 +0000 (09:06 -0000)
libc/stdlib/malloc-930716/malloc.c

index db93311..2467da4 100644 (file)
@@ -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);