add util part 2 and mofify warns

Signed-off-by: libenyao <libenyao@h-partners.com>
This commit is contained in:
libenyao
2023-02-28 16:57:48 +08:00
parent a81501c8ce
commit 51fe3d7dcf
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ Json::Value JsonReader::ParseJsonData(const string jsonStr)
ELOG("JsonReader: CharReader get null.");
return val;
}
string message;
string message; // NOLINT
if (!reader->parse(jsonStr.data(), jsonStr.data() + jsonStr.size(), &val, &message)) {
ELOG("JsonReader: Failed to parse the json data, errors: %s", message.c_str());
}