Googletest export

Silence MSVC C4100 (unused formal parameter) to fix breakage from recently added testcase.  This warning is silenced in many files throughout googletest, but was not needed here until this testcase was added.

PiperOrigin-RevId: 312121200
This commit is contained in:
durandal 2020-05-18 14:37:18 -04:00 committed by Derek Mauro
parent 1397db9e58
commit a0669e070a

View File

@ -32,11 +32,13 @@
// //
// This file tests the built-in actions. // This file tests the built-in actions.
// Silence C4800 (C4800: 'int *const ': forcing value // Silence C4100 (unreferenced formal parameter) for MSVC
// to bool 'true' or 'false') for MSVC 15
#ifdef _MSC_VER #ifdef _MSC_VER
#if _MSC_VER == 1900
# pragma warning(push) # pragma warning(push)
# pragma warning(disable:4100)
#if _MSC_VER == 1900
// and silence C4800 (C4800: 'int *const ': forcing value
// to bool 'true' or 'false') for MSVC 15
# pragma warning(disable:4800) # pragma warning(disable:4800)
#endif #endif
#endif #endif