diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index 13ea71a19..b56e2ce54 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -470,6 +470,8 @@ bool ForeachDirectoryEntry(unsigned* num_entries_out, const std::string &directo // num_entries_out is allowed to be specified nullptr, in which case we shouldn't try to set it if (num_entries_out != nullptr) *num_entries_out = found_entries; + + return true; } unsigned ScanDirectoryTree(const std::string &directory, FSTEntry& parent_entry)