File_util: Add a missing return in function
This commit is contained in:
parent
7987b5c66b
commit
af4a49ad23
1 changed files with 2 additions and 0 deletions
|
@ -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
|
// num_entries_out is allowed to be specified nullptr, in which case we shouldn't try to set it
|
||||||
if (num_entries_out != nullptr)
|
if (num_entries_out != nullptr)
|
||||||
*num_entries_out = found_entries;
|
*num_entries_out = found_entries;
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned ScanDirectoryTree(const std::string &directory, FSTEntry& parent_entry)
|
unsigned ScanDirectoryTree(const std::string &directory, FSTEntry& parent_entry)
|
||||||
|
|
Loading…
Reference in a new issue