Commit 6299b0d7 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

improve another assertion

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2088 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 2c31540f
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment