diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-01-10 18:17:59 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-01-10 18:17:59 +0000 |
commit | 48b1315108cdba8f37394aedb8098102ca00e8b9 (patch) | |
tree | c8d12776d79b243cb2c9dcb307965b6e4582959d /test/gtest-port_test.cc | |
parent | afaefb0e30366cf8bedb41daf14dc9e17a5d1ff9 (diff) | |
download | googletest-48b1315108cdba8f37394aedb8098102ca00e8b9.tar.gz googletest-48b1315108cdba8f37394aedb8098102ca00e8b9.tar.bz2 googletest-48b1315108cdba8f37394aedb8098102ca00e8b9.zip |
Fixes GCC 4.6 warnings (patch by Jeffrey Yasskin).
Diffstat (limited to 'test/gtest-port_test.cc')
-rw-r--r-- | test/gtest-port_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gtest-port_test.cc b/test/gtest-port_test.cc index bf42d8b8..db63ea98 100644 --- a/test/gtest-port_test.cc +++ b/test/gtest-port_test.cc @@ -168,6 +168,7 @@ class To { TEST(ImplicitCastTest, CanUseImplicitConstructor) { bool converted = false; To to = ::testing::internal::implicit_cast<To>(&converted); + (void)to; EXPECT_TRUE(converted); } |