buffer: untangle assignment and check.
Michael
This commit is contained in:
parent
f5c80119ca
commit
88dbe04c81
@ -113,7 +113,8 @@ new_buffer (void)
|
||||
{
|
||||
struct buffer_s *buffptr;
|
||||
|
||||
if (!(buffptr = safemalloc (sizeof (struct buffer_s))))
|
||||
buffptr = safemalloc (sizeof (struct buffer_s));
|
||||
if (!buffptr)
|
||||
return NULL;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user