From 7ab94baadd729abc33a095210fbcd43c4d90f6b4 Mon Sep 17 00:00:00 2001 From: "Paul \"Dettorer\" Hervot" Date: Sun, 29 Nov 2015 08:49:53 +0100 Subject: [PATCH] File_util: Silence warning about an unused variable in handler --- src/common/file_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index 5b21c8695..a00c69b05 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -506,7 +506,7 @@ unsigned ScanDirectoryTree(const std::string &directory, FSTEntry& parent_entry) bool DeleteDirRecursively(const std::string &directory) { - const static auto callback = [](unsigned* num_entries_out, + const static auto callback = [](unsigned*, const std::string& _directory, const std::string& virtual_name) -> bool { std::string new_path = _directory + DIR_SEP_CHR + virtual_name;