From 6299b0d752eb3e114c7e4892cdfa3d058dc6f440 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 8 Nov 2004 03:22:23 +0000
Subject: [PATCH] improve another assertion

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2088 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 src/nano.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nano.c b/src/nano.c
index b454c3f6..116d5ad8 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -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));
-- 
GitLab