registry/source/keyimpl.cxx | 2 +- registry/source/reflread.cxx | 4 ++-- registry/source/reflwrit.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit 21a30e3f1172bef710ca017558dca670f0790013 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Jul 1 16:19:06 2020 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Wed Jul 1 21:14:48 2020 +0200 Upcoming improved loplugin:staticanonymous -> redundantstatic: registry Change-Id: Id96932c7944b5136f5fa7b5f698b8bb3b616e9ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97633 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/registry/source/keyimpl.cxx b/registry/source/keyimpl.cxx index e14a88ec2576..f3cb2d00b34e 100644 --- a/registry/source/keyimpl.cxx +++ b/registry/source/keyimpl.cxx @@ -32,7 +32,7 @@ using namespace store; -namespace { static char const VALUE_PREFIX[] = "$VL_"; } +namespace { char const VALUE_PREFIX[] = "$VL_"; } // ORegKey() diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx index 89c9cbf9c35a..57884e110075 100644 --- a/registry/source/reflread.cxx +++ b/registry/source/reflread.cxx @@ -37,8 +37,8 @@ #include <cstddef> -static const char NULL_STRING[1] = { 0 }; -static const sal_Unicode NULL_WSTRING[1] = { 0 }; +const char NULL_STRING[1] = { 0 }; +const sal_Unicode NULL_WSTRING[1] = { 0 }; const sal_uInt32 magic = 0x12345678; const sal_uInt16 minorVersion = 0x0000; diff --git a/registry/source/reflwrit.cxx b/registry/source/reflwrit.cxx index 48d28ab8766b..04be2db6e702 100644 --- a/registry/source/reflwrit.cxx +++ b/registry/source/reflwrit.cxx @@ -44,7 +44,7 @@ OString toByteString(rtl_uString const * str) { } -static const sal_Unicode NULL_WSTRING[1] = { 0 }; +const sal_Unicode NULL_WSTRING[1] = { 0 }; #define BLOP_OFFSET_MAGIC 0 #define BLOP_OFFSET_SIZE (BLOP_OFFSET_MAGIC + sizeof(sal_uInt32)) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits