[Libreoffice-commits] core.git: jvmfwk/plugins

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 18 09:46:34 UTC 2020


 jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx |    2 +-
 jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 15914df5f0d857b038ae5580c483541a6c0826fc
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Aug 18 10:51:20 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Aug 18 11:45:52 2020 +0200

    Silence new Clang 12 trunk -Werror,-Wstring-concatenation
    
    "suspicious concatenation of string literals in an array initialization; did you
    mean to separate the elements with a comma?"
    
    Change-Id: I83828d8cc6f8ab9b0c1ca8a1c3fb528592c46504
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100897
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx b/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx
index 8a10d39a89e3..fd2468edf65e 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx
@@ -90,7 +90,7 @@ char const* const* OtherInfo::getLibraryPaths(int* size)
         "/lib/" JFW_PLUGIN_ARCH "/classic",
         "/lib/" JFW_PLUGIN_ARCH "/jrockit",
         "/lib/" JFW_PLUGIN_ARCH "/native_threads",
-        "/lib/" JFW_PLUGIN_ARCH
+        ("/lib/" JFW_PLUGIN_ARCH)
     };
 
     *size = SAL_N_ELEMENTS(ar);
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
index 89731ad15ddc..51d5046c203f 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
@@ -82,7 +82,7 @@ char const* const* SunInfo::getLibraryPaths(int* size)
         "/lib/" JFW_PLUGIN_ARCH "/client",
         "/lib/" JFW_PLUGIN_ARCH "/server",
         "/lib/" JFW_PLUGIN_ARCH "/native_threads",
-        "/lib/" JFW_PLUGIN_ARCH
+        ("/lib/" JFW_PLUGIN_ARCH)
     };
     *size = SAL_N_ELEMENTS(ar);
     return ar;


More information about the Libreoffice-commits mailing list