summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src/utils.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-10-11 13:19:56 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-10-11 13:19:56 +0000
commit7e67728d3ea7790e4aa7a8197fc458e672922051 (patch)
tree20c77c739f4b225bb64e0564c2895a3b3718b0f4 /plugins/CrashDumper/src/utils.cpp
parent725c245c57c532658ef0d2a77ea50ff599c40dec (diff)
Crash Dumper:
- Duplicate function removed git-svn-id: http://svn.miranda-ng.org/main/trunk@15532 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CrashDumper/src/utils.cpp')
-rw-r--r--plugins/CrashDumper/src/utils.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/plugins/CrashDumper/src/utils.cpp b/plugins/CrashDumper/src/utils.cpp
index 990212c935..4abad60ed6 100644
--- a/plugins/CrashDumper/src/utils.cpp
+++ b/plugins/CrashDumper/src/utils.cpp
@@ -382,26 +382,6 @@ void GetWow64String(CMString &buffer)
buffer.Append(TEXT(" [running inside WOW64]"));
}
-
-bool CreateDirectoryTree(LPTSTR szDir)
-{
- DWORD dwAttr = GetFileAttributes(szDir);
- if (dwAttr != INVALID_FILE_ATTRIBUTES && (dwAttr & FILE_ATTRIBUTE_DIRECTORY))
- return true;
-
- TCHAR* pszSlash = _tcsrchr(szDir, TEXT('\\'));
- if (pszSlash == NULL)
- return false;
-
- *pszSlash = 0;
- bool res = CreateDirectoryTree(szDir);
- *pszSlash = TEXT('\\');
-
- if (res) res = CreateDirectory(szDir, NULL) != 0;
-
- return res;
-}
-
void GetVersionInfo(HMODULE hLib, CMString& buffer)
{
HRSRC hVersion = FindResource(hLib, MAKEINTRESOURCE(VS_VERSION_INFO), RT_VERSION);