summaryrefslogtreecommitdiff
path: root/salhelper
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-01-31 20:52:30 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-02-02 05:58:10 +0100
commit638d9027d980cdb3310089de1b613294142478a4 (patch)
tree9ac83247e6a6eb5518a4baf77e84a17bafeceec2 /salhelper
parent17b22047a7fac6592c0c0b23072c36c7e0d46a84 (diff)
salhelper: MSVC: pragma warning: make more specific, remove obsolete
Change-Id: I05f1706931612d4d8804cecd860b7195861b1149 Reviewed-on: https://gerrit.libreoffice.org/49043 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'salhelper')
-rw-r--r--salhelper/qa/test_api.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/salhelper/qa/test_api.cxx b/salhelper/qa/test_api.cxx
index aea26798c513..badde099e117 100644
--- a/salhelper/qa/test_api.cxx
+++ b/salhelper/qa/test_api.cxx
@@ -121,9 +121,8 @@ void Test::testCondition() {
}
#ifdef _MSC_VER
-// MSVC 2012 warns about the "p" being unused
-#pragma warning (push, 1)
-#pragma warning (disable: 4189)
+#pragma warning (push)
+#pragma warning (disable: 4189) // 'p': local variable is initialized but not referenced
#endif