Windows: Correct some variable init warnings.

This commit is contained in:
Unknown W. Brackets committed 2021-02-15 11:59:45 -08:00
1 parent 4a33b5d4e2
commit 7119011363
5 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ LocalFileLoader::LocalFileLoader(const std::string &filename)
return;
}
LARGE_INTEGER end_offset;
const LARGE_INTEGER zero = { 0 };
const LARGE_INTEGER zero{};
if (SetFilePointerEx(handle_, zero, &end_offset, FILE_END) == 0) {
// Couldn't seek in the file. Close it and give up? This should never happen.
CloseHandle(handle_);