formatters/JSON: Remove surrounding_braces

This seems to have become unused 4 years ago with 9b76e8faf4,
remove it.
This commit is contained in:
Arne Welzel 2023-06-16 11:54:35 +02:00
parent 6efc696179
commit 7c3b5553d8
2 changed files with 1 additions and 3 deletions

View file

@ -31,9 +31,8 @@ bool JSON::NullDoubleWriter::Double(double d)
} }
JSON::JSON(MsgThread* t, TimeFormat tf, bool arg_include_unset_fields) JSON::JSON(MsgThread* t, TimeFormat tf, bool arg_include_unset_fields)
: Formatter(t), surrounding_braces(true), include_unset_fields(arg_include_unset_fields) : Formatter(t), timestamps(tf), include_unset_fields(arg_include_unset_fields)
{ {
timestamps = tf;
} }
JSON::~JSON() { } JSON::~JSON() { }

View file

@ -58,7 +58,6 @@ private:
const std::string& name = "") const; const std::string& name = "") const;
TimeFormat timestamps; TimeFormat timestamps;
bool surrounding_braces;
bool include_unset_fields; bool include_unset_fields;
}; };