summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-13 00:08:36 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-13 11:26:59 +0200
commitd6ee925423ef00dc16ad3cd939bc64d19e7fc922 (patch)
tree2b9a8c6ec469e341dd68948895cdb014fff09de0 /shell
parentb8c1742c400ab79887cc068635227616cf528fe4 (diff)
shell: remove dead SaveDebugInfoToFile
Change-Id: I18655247f0e836cefd2791e1c78cf9f49e396d02
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/shlxthandler/util/utilities.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/shell/source/win32/shlxthandler/util/utilities.cxx b/shell/source/win32/shlxthandler/util/utilities.cxx
index 214d63ee5967..f42686976b8c 100644
--- a/shell/source/win32/shlxthandler/util/utilities.cxx
+++ b/shell/source/win32/shlxthandler/util/utilities.cxx
@@ -110,23 +110,6 @@ bool is_windows_xp_or_above()
}
//---------------------------------
-/**
-*/
-
-void SaveDebugInfoToFile( const std::wstring& str )
-{
- int handle;
-
- if ((handle = open("c:\\temp\\SHELLRESULT.$$$", O_CREAT | O_RDWR | O_APPEND )) == -1)
- {
- perror("Error: open file error");
- return;
- }
- write(handle, str.c_str(), str.length() );
- close(handle);
-}
-
-//---------------------------------
/** helper function to judge if the string is only has spaces.
@returns
<TRUE>if the provided string contains only but at least one space