diff options
author | Erik Johansson <erik@ejohansson.se> | 2020-02-23 21:53:03 +0100 |
---|---|---|
committer | Erik Johansson <erik@ejohansson.se> | 2020-02-23 22:07:08 +0100 |
commit | ac61a000e2bac51b21093e3c19136aa08a438292 (patch) | |
tree | de80e8c336658a3955444a7bdd0c8e9f5161832c | |
parent | 2132512c793d29e62f84381c1ee16617411cb321 (diff) | |
download | ccache-ac61a000e2bac51b21093e3c19136aa08a438292.tar.gz ccache-ac61a000e2bac51b21093e3c19136aa08a438292.tar.bz2 ccache-ac61a000e2bac51b21093e3c19136aa08a438292.zip |
Remove unused function stats_get_pending
-rw-r--r-- | src/stats.cpp | 8 | ||||
-rw-r--r-- | src/stats.hpp | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/stats.cpp b/src/stats.cpp index b25cf12d..df093d70 100644 --- a/src/stats.cpp +++ b/src/stats.cpp @@ -439,14 +439,6 @@ stats_update(Context& ctx, enum stats stat) ctx.counter_updates->data[stat]++; } -// Get the pending update of a counter value. -unsigned -stats_get_pending(Context& ctx, enum stats stat) -{ - init_counter_updates(ctx); - return ctx.counter_updates->data[stat]; -} - // Sum and display the total stats for all cache dirs. void stats_summary(const Config& config) diff --git a/src/stats.hpp b/src/stats.hpp index ef89fef0..c4702859 100644 --- a/src/stats.hpp +++ b/src/stats.hpp @@ -66,7 +66,6 @@ enum stats { void stats_update(Context& ctx, enum stats stat); void stats_flush(void* context); -unsigned stats_get_pending(Context& ctx, enum stats stat); void stats_zero(const Config& config); void stats_summary(const Config& config); void stats_print(const Config& config); |