sal/cppunittester/cppunittester.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 39c9596eb7746c16e68e71d76777be58fc94b7c9 Author: Stephan Bergmann <[email protected]> AuthorDate: Wed Nov 25 10:14:57 2020 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Wed Nov 25 14:04:32 2020 +0100 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 <[email protected]> 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 _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
