aboutsummaryrefslogtreecommitdiff
path: root/src/directive.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-04-23 23:15:18 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-04-23 23:15:50 +0300
commit662f6eddf08edc3f2ba30ac58853cb0de86b30a3 (patch)
treee7a0369e84690d3dd5ec8c5877c68d8dd730173e /src/directive.c
parent8234484dba123ad8001657def8fb57133f9610bf (diff)
downloadwydawca-662f6eddf08edc3f2ba30ac58853cb0de86b30a3.tar.gz
wydawca-662f6eddf08edc3f2ba30ac58853cb0de86b30a3.tar.bz2
Remove a left-over global variable
Diffstat (limited to 'src/directive.c')
-rw-r--r--src/directive.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/directive.c b/src/directive.c
index 5067f00..68450df 100644
--- a/src/directive.c
+++ b/src/directive.c
@@ -598,7 +598,6 @@ process_directives(struct wy_triplet *trp)
increase_stat_counter(WY_STAT_COMPLETE_TRIPLETS);
timer_start(WY_TIMER_TRIPLET);
- report_init();
for (n = directive_first(trp, &key, &val); n;
n = directive_next(trp, n, &key, &val)) {
enum directive d = find_directive(key);
@@ -669,7 +668,7 @@ process_directives(struct wy_triplet *trp)
}
increase_stat_counter(WY_STAT_TRIPLET_SUCCESS);
- report_finish();
+ triplet_report_finish(trp);
timer_stop(WY_TIMER_TRIPLET);
notify(spool->notification, trp, wy_ev_success);
return 0;

Return to:

Send suggestions and report system problems to the System administrator.