chiark / gitweb /
notice_processed zeroes the counts
[innduct.git] / statemc.c
index 27ae8614b40f344d9f674fb9e852633fb90a491b..b995957cdebdb4fd0529845fffea87d9dbe96c83 100644 (file)
--- 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);