mirror of
https://github.com/tristanpenman/valijson.git
synced 2024-12-14 02:57:45 +01:00
Remove unused variable from nlohmann_json_utils.hpp
This commit is contained in:
parent
187c66d06c
commit
032a8bdcf2
@ -20,7 +20,6 @@ inline bool loadDocument(const std::string &path, nlohmann::json &document) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Parse schema
|
// Parse schema
|
||||||
std::string err;
|
|
||||||
try {
|
try {
|
||||||
document = nlohmann::json::parse(file);
|
document = nlohmann::json::parse(file);
|
||||||
} catch (std::invalid_argument const& exception) {
|
} catch (std::invalid_argument const& exception) {
|
||||||
|
Loading…
Reference in New Issue
Block a user