ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/ealloc.c
(Generate patch)

Comparing ray/src/common/ealloc.c (file contents):
Revision 2.7 by schorsch, Mon Oct 27 10:19:31 2003 UTC vs.
Revision 2.8 by schorsch, Fri Nov 14 17:22:06 2003 UTC

# Line 26 | Line 26 | emalloc(unsigned int  n)
26  
27          eputs("Out of memory in emalloc\n");
28          quit(1);
29 +        return NULL; /* pro forma return */
30   }
31  
32  
# Line 68 | Line 69 | erealloc(register char  *cp, unsigned int  n)
69  
70          eputs("Out of memory in erealloc\n");
71          quit(1);
72 +        return NULL; /* pro forma return */
73   }
74  
75  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines