summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-12-25 23:03:59 +0100
committerSubv <subv2112@gmail.com>2016-01-16 15:30:29 +0100
commit922b31ebbdc6d8cbfe76bebbaa158cf16b9e7b0c (patch)
treeac25404691b21304bb30b3e400da97b6c5671b76 /src/common
parentUpdate README.md (diff)
downloadyuzu-922b31ebbdc6d8cbfe76bebbaa158cf16b9e7b0c.tar
yuzu-922b31ebbdc6d8cbfe76bebbaa158cf16b9e7b0c.tar.gz
yuzu-922b31ebbdc6d8cbfe76bebbaa158cf16b9e7b0c.tar.bz2
yuzu-922b31ebbdc6d8cbfe76bebbaa158cf16b9e7b0c.tar.lz
yuzu-922b31ebbdc6d8cbfe76bebbaa158cf16b9e7b0c.tar.xz
yuzu-922b31ebbdc6d8cbfe76bebbaa158cf16b9e7b0c.tar.zst
yuzu-922b31ebbdc6d8cbfe76bebbaa158cf16b9e7b0c.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/file_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index 052c0ecd6..c3061479a 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -457,7 +457,7 @@ bool ForeachDirectoryEntry(unsigned* num_entries_out, const std::string &directo
if (virtual_name == "." || virtual_name == "..")
continue;
- unsigned ret_entries;
+ unsigned ret_entries = 0;
if (!callback(&ret_entries, directory, virtual_name)) {
callback_error = true;
break;