From: Ian Jackson Date: Wed, 26 May 2010 17:31:02 +0000 (+0100) Subject: notice_processed zeroes the counts X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=80a281cd6a86e33fd030a265331f59d1366541b2;p=innduct.git notice_processed zeroes the counts --- diff --git a/statemc.c b/statemc.c index 27ae861..b995957 100644 --- a/statemc.c +++ b/statemc.c @@ -247,6 +247,10 @@ static void notice_processed(InputFile *ipf, int completed, RESULT_COUNTS(RCI_NOTHING, RCI_TRIPLE_VALS) ); + memset(ipf->counts, 0, sizeof(ipf->counts)); + ipf->readcount_ok= ipf->readcount_blank= + ipf->readcount_err= ipf->count_nooffer_missing= 0; + free(inprog); free(autodefer);