From: markus schnalke Date: Tue, 27 Mar 2012 09:42:39 +0000 (+0200) Subject: new: sequences[0] needs to be initialized to NULL. X-Git-Tag: mmh-thesis-end~149 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=701adc46db60b3ca1f2e5087805eba59ffe87976 new: sequences[0] needs to be initialized to NULL. This was caught by the nmh test suite. Pulled in from nmh. Thanks to David Levine. --- diff --git a/uip/new.c b/uip/new.c index a4da635..f6ac364 100644 --- a/uip/new.c +++ b/uip/new.c @@ -432,6 +432,8 @@ main(int argc, char **argv) char *unseen; struct node *folder; + sequences[0] = NULL; + #ifdef LOCALE setlocale(LC_ALL, ""); #endif