Kaydet (Commit) d0a0abee authored tarafından Thorsten Behrens's avatar Thorsten Behrens

-Werror,-Wunused-variable

Change-Id: I32e6bad89b7cdcf0b181c0bb3a158b003fcfb767
üst dda4e607
......@@ -103,12 +103,13 @@ OUString getCrashUserProfileDirectory()
void CrashReporter::updateMinidumpLocation()
{
OUString aURL = getCrashUserProfileDirectory();
#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
OUString aURL = getCrashUserProfileDirectory();
OString aOStringUrl = OUStringToOString(aURL, RTL_TEXTENCODING_UTF8);
google_breakpad::MinidumpDescriptor descriptor(aOStringUrl.getStr());
mpExceptionHandler->set_minidump_descriptor(descriptor);
#elif defined WNT
OUString aURL = getCrashUserProfileDirectory();
mpExceptionHandler->set_dump_path(aURL.getStr());
#endif
}
......
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