tweaks: remove two superfluous assignments

The digit counter will be reset to zero the next time when <Esc>
is pressed, and the byte holder gets re-initialized when the next
first digit is pressed.  And the escape counter is reset to zero
after returning from a result-giving call of get_byte_kbinput().
This commit is contained in:
Benno Schulenberg 2020-07-20 16:28:36 +02:00
parent b41405233f
commit e4fa0b54a2
1 changed files with 0 additions and 6 deletions

View File

@ -1346,12 +1346,6 @@ int get_byte_kbinput(int kbinput)
break; break;
} }
/* If we have a result, reset the counter and the byte holder. */
if (retval != ERR) {
digit_count = 0;
byte = 0;
}
return retval; return retval;
} }