sc/inc/stlalgorithm.hxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 76a74ae8a295e5a677a20507a8c855c376c0d23f
Author: Stephan Bergmann <[email protected]>
AuthorDate: Mon May 6 08:48:08 2024 +0200
Commit: Stephan Bergmann <[email protected]>
CommitDate: Mon May 6 10:51:15 2024 +0200
Lets see if "MSVC '12 'unreferenced formal parameter'" workaround can go now
Change-Id: Iea4cd4ccec178ff32832eb2bf9a6586d6014b89b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167184
Reviewed-by: Stephan Bergmann <[email protected]>
Tested-by: Jenkins
diff --git a/sc/inc/stlalgorithm.hxx b/sc/inc/stlalgorithm.hxx
index fe3244148618..f967154dc30c 100644
--- a/sc/inc/stlalgorithm.hxx
+++ b/sc/inc/stlalgorithm.hxx
@@ -49,9 +49,6 @@ public:
static void destroy(T* p)
{
p->~value_type();
-#if defined _MSC_VER
- (void)p; // avoid bogus MSVC '12 "unreferenced formal parameter"
warning
-#endif
}
static size_type max_size()