Merge "Remove unused errorMessage" am: 78a488cd10 am: fd426e18cd

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1616687

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibb0d9947c75984e31b21820359de19b8526c72fd
This commit is contained in:
Treehugger Robot
2021-03-04 07:19:44 +00:00
committed by Automerger Merge Worker

View File

@@ -90,8 +90,7 @@ BuildVars::BuildVars(const string& outDir, const string& buildProduct,
Json::Value json;
Json::CharReaderBuilder builder;
std::string errorMessage;
if (!Json::parseFromStream(builder, stream, &json, &errorMessage)) {
if (!Json::parseFromStream(builder, stream, &json, /* errorMessage = */ nullptr)) {
return;
}
@@ -215,8 +214,7 @@ read_modules(const string& buildOut, const string& device, map<string,Module>* r
Json::Value json;
Json::CharReaderBuilder builder;
std::string errorMessage;
if (!Json::parseFromStream(builder, stream, &json, &errorMessage)) {
if (!Json::parseFromStream(builder, stream, &json, /* errorMessage = */ nullptr)) {
json_error(filename, "can't parse json format", quiet);
return;
}