Shell: Remove unused private member and includes

Problem:
- Clang reports unused private member warning in the `Shell::Formatter`.
- Vector is not used in the `Shell::Formatter`.

Solution:
- Remove unused private member variable.
- Remove unused includes.
This commit is contained in:
Lenny Maiorani 2020-11-16 11:07:48 -07:00 committed by Andreas Kling
parent fd97f23cef
commit 0cb16ffe08
Notes: sideshowbarker 2024-07-19 01:21:45 +09:00

View file

@ -31,7 +31,6 @@
#include <AK/StringBuilder.h>
#include <AK/StringView.h>
#include <AK/Types.h>
#include <AK/Vector.h>
#include <ctype.h>
namespace Shell {
@ -111,7 +110,6 @@ private:
bool in_double_quotes { false };
} m_options;
size_t m_current_line_length { 0 };
size_t m_current_indent { 0 };
StringBuilder m_builder;