diff --git a/Source/cmInstallScriptHandler.cxx b/Source/cmInstallScriptHandler.cxx index 1cd763d98d..b36d709597 100644 --- a/Source/cmInstallScriptHandler.cxx +++ b/Source/cmInstallScriptHandler.cxx @@ -12,7 +12,6 @@ #include -#include #include #include @@ -79,10 +78,6 @@ cmInstallScriptHandler::cmInstallScriptHandler( indexIsFresh = cacheTime <= cmSystemTools::ModifiedTime(file); } if (indexIsFresh) { - Json::CharReaderBuilder rbuilder; - auto jsonReader = - std::unique_ptr(rbuilder.newCharReader()); - std::vector content; Json::Value value; cmJSONState state(file, &value); this->Parallel = value["Parallel"].asBool();