Parcourir la source

Kill the needless '#if 1'

Eric Andersen il y a 21 ans
Parent
commit
a5ccd4df72
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      libc/stdlib/malloc-930716/malloc.c

+ 0 - 2
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);