mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-24 02:19:34 -04:00
DiskDirectory: Initialize the directory member with valid info.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user