diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-01-18 13:18:06 +0100 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-01-18 17:18:56 +0100 |
commit | 403ba351302a0bf95a6f4dcc0cb0e675f593d3e2 (patch) | |
tree | e0862b5ff4abb511508e70804a6f74215ab7b1b5 /sal | |
parent | bfc615e5643c347ff1251853129de4cbf825ba81 (diff) |
-Werror,-Wunused-variable (Emscripten)
Change-Id: Id931281ff716ed0fd26fda1972eb6f5defde7422
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162249
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/process_impl.cxx | 4 |
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 */ |