From: David Lawrence Ramsey Date: Mon, 8 Nov 2004 03:19:10 +0000 (+0000) Subject: improve assertion X-Git-Tag: v1.3.5~33 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2c31540fa9142a29619bff7788b60f115f3bef75;p=nano.git improve assertion git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2087 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/nano.c b/src/nano.c index 845e6023..b454c3f6 100644 --- a/src/nano.c +++ b/src/nano.c @@ -672,7 +672,7 @@ partition *partition_filestruct(filestruct *top, size_t top_x, void unpartition_filestruct(partition *p) { char *tmp; - assert(p != NULL); + assert(p != NULL && fileage != NULL && filebot != NULL); /* Reattach the line above the top of the partition, and restore the * text before top_x from top_data. Free top_data when we're done