Kaydet (Commit) d6ee9254 authored tarafından Michael Stahl's avatar Michael Stahl

shell: remove dead SaveDebugInfoToFile

Change-Id: I18655247f0e836cefd2791e1c78cf9f49e396d02
üst b8c1742c
......@@ -109,23 +109,6 @@ bool is_windows_xp_or_above()
return false;
}
//---------------------------------
/**
*/
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment