buffer: untangle assignment and check.

Michael
This commit is contained in:
Michael Adam 2009-08-04 14:49:09 +02:00
parent f5c80119ca
commit 88dbe04c81

View File

@ -113,7 +113,8 @@ new_buffer (void)
{ {
struct buffer_s *buffptr; struct buffer_s *buffptr;
if (!(buffptr = safemalloc (sizeof (struct buffer_s)))) buffptr = safemalloc (sizeof (struct buffer_s));
if (!buffptr)
return NULL; return NULL;
/* /*