summaryrefslogtreecommitdiff
path: root/shared/recycler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shared/recycler.cpp')
-rw-r--r--shared/recycler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/recycler.cpp b/shared/recycler.cpp
index 4a0d7290..4e9ce9a3 100644
--- a/shared/recycler.cpp
+++ b/shared/recycler.cpp
@@ -101,9 +101,9 @@ void moveToWindowsRecycler(const std::vector<Zstring>& filesToDelete) //throw (
wxString(_("Could not load a required DLL:")) + wxT(" \"") + getRecyclerDllName().c_str() + wxT("\""));
//#warning moving long file paths to recycler does not work! clarify!
-// std::vector<Zstring> temp;
-// std::transform(filesToDelete.begin(), filesToDelete.end(),
-// std::back_inserter(temp), std::ptr_fun(ffs3::removeLongPathPrefix)); //::IFileOperation() can't handle \\?\-prefix!
+ // std::vector<Zstring> temp;
+ // std::transform(filesToDelete.begin(), filesToDelete.end(),
+ // std::back_inserter(temp), std::ptr_fun(ffs3::removeLongPathPrefix)); //::IFileOperation() can't handle \\?\-prefix!
if (!moveToRecycler(&fileNames[0], //array must not be empty
fileNames.size()))
@@ -126,7 +126,7 @@ void moveToWindowsRecycler(const std::vector<Zstring>& filesToDelete) //throw (
filenameDoubleNull += Zchar(0);
}
- SHFILEOPSTRUCT fileOp;
+ SHFILEOPSTRUCT fileOp = {};
fileOp.hwnd = NULL;
fileOp.wFunc = FO_DELETE;
fileOp.pFrom = filenameDoubleNull.c_str();
bgstack15