From: David Lawrence Ramsey Date: Mon, 8 Nov 2004 03:22:23 +0000 (+0000) Subject: improve another assertion X-Git-Tag: v1.3.5~32 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6299b0d752eb3e114c7e4892cdfa3d058dc6f440;p=nano.git improve another assertion git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2088 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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));