summaryrefslogtreecommitdiff
path: root/salhelper/qa/test_api.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'salhelper/qa/test_api.cxx')
-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