Fix warning: ignoring return value

pull/1871/head
Sonu Lohani 2019-12-16 14:22:41 +05:30 committed by GitHub
parent b568619c4a
commit 4c1ebb4413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ TEST_CASE("tests on very large JSONs")
std::string s(2 * depth, '[');
std::fill(s.begin() + depth, s.end(), ']');
CHECK_NOTHROW(nlohmann::json::parse(s));
json _;
CHECK_NOTHROW(_ = nlohmann::json::parse(s));
}
}