]> git.wh0rd.org Git - nano.git/commitdiff
improve another assertion
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 8 Nov 2004 03:22:23 +0000 (03:22 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 8 Nov 2004 03:22:23 +0000 (03:22 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2088 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c

index b454c3f6f7cfc5d8eaa33d2139f4edc842b32ad6..116d5ad800b639fba0035a7f53d71fbc3056f4ea 100644 (file)
@@ -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));