sal/osl/unx/process_impl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 403ba351302a0bf95a6f4dcc0cb0e675f593d3e2 Author: Stephan Bergmann <[email protected]> AuthorDate: Thu Jan 18 13:18:06 2024 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Thu Jan 18 17:18:56 2024 +0100 -Werror,-Wunused-variable (Emscripten) Change-Id: Id931281ff716ed0fd26fda1972eb6f5defde7422 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162249 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> 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 */
