Index: webrtc/base/win32filesystem.cc |
diff --git a/webrtc/base/win32filesystem.cc b/webrtc/base/win32filesystem.cc |
index feb7da0c78a26fab5c61df1445ce67f202d9fdcd..9a075c1e9e745437bede9fdc607914df53bc0846 100644 |
--- a/webrtc/base/win32filesystem.cc |
+++ b/webrtc/base/win32filesystem.cc |
@@ -72,13 +72,6 @@ bool Win32Filesystem::DeleteFile(const Pathname &filename) { |
return ::DeleteFile(ToUtf16(filename.pathname()).c_str()) != 0; |
} |
-bool Win32Filesystem::DeleteEmptyFolder(const Pathname &folder) { |
- LOG(LS_INFO) << "Deleting folder " << folder.pathname(); |
- |
- std::string no_slash(folder.pathname(), 0, folder.pathname().length()-1); |
- return ::RemoveDirectory(ToUtf16(no_slash).c_str()) != 0; |
-} |
- |
bool Win32Filesystem::GetTemporaryFolder(Pathname &pathname, bool create, |
const std::string *append) { |
wchar_t buffer[MAX_PATH + 1]; |