salhelper/qa/test_api.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 638d9027d980cdb3310089de1b613294142478a4
Author: Mike Kaganski <mike.kagan...@collabora.com>
Date:   Wed Jan 31 20:52:30 2018 +0300

    salhelper: MSVC: pragma warning: make more specific, remove obsolete
    
    Change-Id: I05f1706931612d4d8804cecd860b7195861b1149
    Reviewed-on: https://gerrit.libreoffice.org/49043
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

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
 
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to