summaryrefslogtreecommitdiff
path: root/zen/dst_hack.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2015-10-02 14:52:29 +0200
committerDaniel Wilhelm <daniel@wili.li>2015-10-02 14:52:29 +0200
commitd3e1925aa7388cd842408032621fae29133dd971 (patch)
tree02e0bd2fdc4bf0214d15c829d9ad5eebb0a03d38 /zen/dst_hack.cpp
parent6.8 (diff)
downloadFreeFileSync-d3e1925aa7388cd842408032621fae29133dd971.tar.gz
FreeFileSync-d3e1925aa7388cd842408032621fae29133dd971.tar.bz2
FreeFileSync-d3e1925aa7388cd842408032621fae29133dd971.zip
6.9
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