X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=innduct.git;a=blobdiff_plain;f=statemc.c;h=b995957cdebdb4fd0529845fffea87d9dbe96c83;hp=27ae8614b40f344d9f674fb9e852633fb90a491b;hb=80a281cd6a86e33fd030a265331f59d1366541b2;hpb=b421a53292baf4108a8a3df719f59d67117a6ca3 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);