remove unused variables in JSON-parsing code (#8627)
This commit is contained in:
parent
6eaddaa9c3
commit
fa44a33ee6
@ -437,7 +437,6 @@ void ParseStr(std::string const& str) {
|
||||
|
||||
Json JsonReader::ParseString() {
|
||||
char ch { GetConsecutiveChar('\"') }; // NOLINT
|
||||
std::ostringstream output;
|
||||
std::string str;
|
||||
while (true) {
|
||||
ch = GetNextChar();
|
||||
@ -656,7 +655,6 @@ Json JsonReader::ParseBoolean() {
|
||||
char ch = GetNextNonSpaceChar();
|
||||
std::string const t_value = u8"true";
|
||||
std::string const f_value = u8"false";
|
||||
std::string buffer;
|
||||
|
||||
if (ch == 't') {
|
||||
GetConsecutiveChar('r');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user