From af4a49ad232c9812fa1fa952c72ccb31ea8c04d0 Mon Sep 17 00:00:00 2001
From: "Paul \"Dettorer\" Hervot"
Date: Sun, 29 Nov 2015 08:48:20 +0100
Subject: [PATCH] File_util: Add a missing return in function
---
src/common/file_util.cpp | 2 ++
1 file changed, 2 insertions(+)
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)