From 57faaf42caf3c2986d8be69e147ea04542cf5881 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 18 Aug 2018 08:15:03 +0200 Subject: [PATCH] :rotating_light: fixed a compiler warning --- test/src/unit-regression.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/unit-regression.cpp b/test/src/unit-regression.cpp index f49c7caa..8f011e02 100644 --- a/test/src/unit-regression.cpp +++ b/test/src/unit-regression.cpp @@ -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"))