File_util: Silence warning about an unused variable in handler

This commit is contained in:
Paul "Dettorer" Hervot 2015-11-29 08:49:53 +01:00 committed by Paul Dettorer Hervot
parent eedbdeb11e
commit 7ab94baadd

View File

@ -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;