1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Eliminate unused variables.

This commit is contained in:
Thomas Harte
2024-03-12 21:53:26 -04:00
parent 2ed031e440
commit 6b18d775ab
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -161,9 +161,7 @@ void Line<include_clock>::update_delegate(bool level) {
// Forward as many bits as occur.
Storage::Time time_left(cycles_to_forward, int(clock_rate_.as_integral()));
const int bit = level ? 1 : 0;
int bits = 0;
while(time_left >= time_left_in_bit_) {
++bits;
if(!read_delegate_->serial_line_did_produce_bit(this, bit)) {
read_delegate_phase_ = ReadDelegatePhase::WaitingForZero;
if(bit) return;