chiark
/
gitweb
/
~ian
/
innduct.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b421a53
)
notice_processed zeroes the counts
author
Ian Jackson
<ian@liberator.(none)>
Wed, 26 May 2010 17:31:02 +0000
(18:31 +0100)
committer
Ian Jackson
<ian@liberator.(none)>
Wed, 26 May 2010 17:31:02 +0000
(18:31 +0100)
statemc.c
patch
|
blob
|
history
diff --git
a/statemc.c
b/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);