diff options
author | kosak <kosak@google.com> | 2014-11-17 02:56:14 +0000 |
---|---|---|
committer | kosak <kosak@google.com> | 2014-11-17 02:56:14 +0000 |
commit | 102b50483a4b515a94a5b1c75db468eb071cf172 (patch) | |
tree | cc5af62a7925b5645d1abb42204a7d2e4601534f /src | |
parent | 40be033887b7728d70d47adce581a971371ee705 (diff) | |
download | googletest-102b50483a4b515a94a5b1c75db468eb071cf172.tar.gz googletest-102b50483a4b515a94a5b1c75db468eb071cf172.tar.bz2 googletest-102b50483a4b515a94a5b1c75db468eb071cf172.zip |
Noop changes to suppress compile-time warnings in WINDOWS code paths.
Diffstat (limited to 'src')
-rw-r--r-- | src/gtest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtest.cc b/src/gtest.cc index e4f3df3e..dc06e022 100644 --- a/src/gtest.cc +++ b/src/gtest.cc @@ -2909,7 +2909,7 @@ void ColoredPrintf(GTestColor color, const char* fmt, ...) { #if GTEST_OS_WINDOWS_MOBILE || GTEST_OS_SYMBIAN || GTEST_OS_ZOS || \ GTEST_OS_IOS || GTEST_OS_WINDOWS_PHONE || GTEST_OS_WINDOWS_RT - const bool use_color = false; + const bool use_color = AlwaysFalse(); #else static const bool in_color_mode = ShouldUseColor(posix::IsATTY(posix::FileNo(stdout)) != 0); |