diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2020-01-26 20:19:19 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-05 22:00:28 +0200 |
commit | acc0ef3ac80f18e349c6d0252177707105c0a29c (patch) | |
tree | 2944d71bf48ef6c7ec2253a37c6fa9ffa26e4124 /src/xz/mytime.c | |
parent | xz: coder.c: Make writing output a separate function. (diff) | |
download | xz-acc0ef3ac80f18e349c6d0252177707105c0a29c.tar.xz |
xz: Move flush_needed from mytime.h to file_pair struct in file_io.h.
Diffstat (limited to 'src/xz/mytime.c')
-rw-r--r-- | src/xz/mytime.c | 3 |
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; } |