aboutsummaryrefslogtreecommitdiff
path: root/src/xz/mytime.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2020-01-26 20:19:19 +0200
committerLasse Collin <lasse.collin@tukaani.org>2020-01-26 20:25:52 +0200
commitfd47fd62bbb1bfd13ab63869137971d8b390025f (patch)
treed40821d7650cb54e27e7ba783f84df136d993912 /src/xz/mytime.c
parentxz: coder.c: Make writing output a separate function. (diff)
downloadxz-fd47fd62bbb1bfd13ab63869137971d8b390025f.tar.xz
xz: Move flush_needed from mytime.h to file_pair struct in file_io.h.
Diffstat (limited to '')
-rw-r--r--src/xz/mytime.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/xz/mytime.c b/src/xz/mytime.c
index 95138840..573b97de 100644
--- a/src/xz/mytime.c
+++ b/src/xz/mytime.c
@@ -17,7 +17,6 @@
#endif
uint64_t opt_flush_timeout = 0;
-bool flush_needed;
static uint64_t start_time;
static uint64_t next_flush;
@@ -53,7 +52,6 @@ mytime_set_start_time(void)
{
start_time = mytime_now();
next_flush = start_time + opt_flush_timeout;
- flush_needed = false;
return;
}
@@ -69,7 +67,6 @@ extern void
mytime_set_flush_time(void)
{
next_flush = mytime_now() + opt_flush_timeout;
- flush_needed = false;
return;
}