diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-25 08:27:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-25 08:27:47 +0200 |
commit | a87cd5f979156e513abebfab449912f266eb88ff (patch) | |
tree | 64ee111d9cfed946f7fcd28beb9ac57cdd214bac /desktop/source | |
parent | e5b927651de97f2f0fdeb3e7f4715eb40a0917d9 (diff) |
-Werror,-Wunused-variable
Change-Id: I83ef9f123156061ec5befb38dba4f46aec95d96d
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/app/crashreport.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx index 50f1a1eacad9..f7345a569fd1 100644 --- a/desktop/source/app/crashreport.cxx +++ b/desktop/source/app/crashreport.cxx @@ -72,10 +72,9 @@ OUString getCrashUserProfileDirectory() void CrashReporter::updateMinidumpLocation() { +#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID OUString aURL = getCrashUserProfileDirectory(); OString aOStringUrl = OUStringToOString(aURL, RTL_TEXTENCODING_UTF8); - -#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID google_breakpad::MinidumpDescriptor descriptor(aOStringUrl.getStr()); mpExceptionHandler->set_minidump_descriptor(descriptor); #elif defined WNT |