diff --git a/repertory/repertory_test/src/file_manager_test.cpp b/repertory/repertory_test/src/file_manager_test.cpp index 79073bf3..39c23e73 100644 --- a/repertory/repertory_test/src/file_manager_test.cpp +++ b/repertory/repertory_test/src/file_manager_test.cpp @@ -822,9 +822,11 @@ TEST_F(file_manager_test, evict_file_fails_if_unable_to_get_filesystem_item) { file_manager mgr(*cfg, mp); EXPECT_CALL(mp, get_filesystem_item) - .WillRepeatedly( - [](const std::string &api_path, bool directory, - filesystem_item &fsi) -> api_error { return api_error::error; }); + .WillRepeatedly([](const std::string & /* api_path */, + bool /* directory */, + filesystem_item & /* fsi */) -> api_error { + return api_error::error; + }); EXPECT_FALSE(mgr.evict_file("/test_open.txt")); }