🚨 fixed a compiler warning

This commit is contained in:
Niels Lohmann 2018-08-18 08:15:03 +02:00
parent e33b31e6aa
commit 57faaf42ca
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -1493,7 +1493,7 @@ TEST_CASE("regression tests")
)";
// define parser callback
json::parser_callback_t cb = [](int depth, json::parse_event_t event, json & parsed)
json::parser_callback_t cb = [](int /*depth*/, json::parse_event_t event, json & parsed)
{
// skip object elements with key "Thumbnail"
if (event == json::parse_event_t::key and parsed == json("Thumbnail"))