mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-14 06:47:11 +03:00
improve another assertion
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2088 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
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
Block a user