summaryrefslogtreecommitdiff
path: root/zen/dst_hack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/dst_hack.cpp')
-rw-r--r--zen/dst_hack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/dst_hack.cpp b/zen/dst_hack.cpp
index 52d45679..b38f73b4 100644
--- a/zen/dst_hack.cpp
+++ b/zen/dst_hack.cpp
@@ -57,7 +57,7 @@ bool dst::isFatDrive(const Zstring& filepath) //throw()
return false;
const DWORD bufferSize = MAX_PATH + 1;
- wchar_t fsName[bufferSize];
+ wchar_t fsName[bufferSize] = {};
//suprisingly fast: ca. 0.03 ms per call!
if (!::GetVolumeInformation(appendSeparator(volumePath).c_str(), //__in_opt LPCTSTR lpRootPathName,
bgstack15