improve another assertion
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2088 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
2c31540fa9
commit
6299b0d752
|
@ -621,7 +621,7 @@ partition *partition_filestruct(filestruct *top, size_t top_x,
|
|||
filestruct *bot, size_t bot_x)
|
||||
{
|
||||
partition *p;
|
||||
assert(top != NULL && bot != NULL);
|
||||
assert(top != NULL && bot != NULL && fileage != NULL && filebot != NULL);
|
||||
|
||||
/* Initialize the partition. */
|
||||
p = (partition *)nmalloc(sizeof(partition));
|
||||
|
|
Loading…
Reference in New Issue