window_layouter: Drop unused code.

The State enum and _state private member variable are not used anywhere.
This produces an extra warning when building the code with clang instead
of GCC. Remove this dead code.

Issue #3985
This commit is contained in:
Piotr Tworek 2021-01-12 01:23:59 +01:00 committed by Norman Feske
parent 1edac9730c
commit c402cc1045

View File

@ -24,22 +24,6 @@ class Window_layouter::Key_sequence_tracker
{
private:
enum State {
/*
* No key is pressed. The next key will initiate a new key
* sequence.
*/
STATE_IDLE,
/*
* Key sequence has been started.
*/
STATE_IN_SEQUENCE,
};
State _state = STATE_IDLE;
struct Stack
{
struct Entry