diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-25 10:14:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-25 14:04:32 +0100 |
commit | 39c9596eb7746c16e68e71d76777be58fc94b7c9 (patch) | |
tree | 402404f08a4927c6dc3831ccef3c7803cab08466 /sal | |
parent | c1fa005db7a75f54b6651c85ecf897c5857e61f3 (diff) |
Silence false loplugin:stringviewparam in conditional code (clang-cl)
Change-Id: Iaa6d36a316f2c474965651e286cff37990f2e817
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106573
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/cppunittester/cppunittester.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx index 468b54ca9ecc..c6fd3b9a269e 100644 --- a/sal/cppunittester/cppunittester.cxx +++ b/sal/cppunittester/cppunittester.cxx @@ -370,7 +370,7 @@ void reportResourceUsage(const OUString& rPath) resource_file << "KernelSpace = " << nKernelSpace << std::endl; } #else -void reportResourceUsage(const OUString& /*rPath*/) +void reportResourceUsage([[maybe_unused]] const OUString& /*rPath*/) { } #endif |