summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/process_impl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/process_impl.cxx b/sal/osl/unx/process_impl.cxx
index 0e3f3e6d8e20..07eb239045ff 100644
--- a/sal/osl/unx/process_impl.cxx
+++ b/sal/osl/unx/process_impl.cxx
@@ -95,8 +95,6 @@ namespace {
oslProcessError bootstrap_getExecutableFile(rtl_uString ** ppFileURL)
{
- oslProcessError result = osl_Process_E_NotFound;
-
#ifdef EMSCRIPTEN
// Just return some dummy file: URL for now to see what happens
OUString fileURL = "vnd.sun.star.pathname:/instdir/program/soffice";
@@ -104,6 +102,8 @@ oslProcessError bootstrap_getExecutableFile(rtl_uString ** ppFileURL)
*ppFileURL = fileURL.pData;
return osl_Process_E_None;
#else
+ oslProcessError result = osl_Process_E_NotFound;
+
#ifdef ANDROID
/* Now with just a single DSO, this one from lo-bootstrap.c is as good as
* any */