mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 15:22:38 +00:00
tail: remove unused var "_event_counter"
This commit is contained in:
parent
e2e42ac265
commit
306a58a731
1 changed files with 0 additions and 2 deletions
|
@ -479,7 +479,6 @@ pub fn follow(mut observer: Observer, settings: &Settings) -> UResult<()> {
|
|||
|
||||
let mut process = platform::ProcessChecker::new(observer.pid);
|
||||
|
||||
let mut _event_counter = 0;
|
||||
let mut _timeout_counter = 0;
|
||||
|
||||
// main follow loop
|
||||
|
@ -529,7 +528,6 @@ pub fn follow(mut observer: Observer, settings: &Settings) -> UResult<()> {
|
|||
.receiver
|
||||
.recv_timeout(settings.sleep_sec);
|
||||
if rx_result.is_ok() {
|
||||
_event_counter += 1;
|
||||
_timeout_counter = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue